>>-SQLPREP----+-ASM-----+--PrepParm-----------------------------> +-C-------+ +-COBol---+ +-FORTran-+ '-PLI-----' >----(--PREPname=--+----------------+--package_id---------------> '-collection_id.-' >-----+----------------------------------+----------------------> +-,PrepFile=--(--| fileparms |--)--+ '-| prepparms |--------------------' >-----+----------------------------------------+--)-------------> '-,USERid=--authorization_name/password--' >-----+----------------------------------+----------------------> '-sysIN--(--+-| fileparms |-+---)--' '-Reader--------' >-----+-------------------------------------+-------------------> '-sysPRint--(--+-| fileparms |-+---)--' +-Printer-------+ '-Terminal------' >-----+-------------------------------------+-------------------> '-sysPUnch--(--+-| fileparms |-+---)--' '-Punch---------' (2) (1) >-----+-| multiple-user-mode-parms |-----------+--------------->< | (1) | '-| single-user-mode-parms |-------------'
Notes:
fileparms |--filename----+-------------------------+----------------------| '-filetype--+----------+--' '-filemode-'
prepparms .-,APOST------. .-,NOBIND----. .-,NOBLocK-----. |--+-------------+---+------------+---+--------------+----------> | (1) | | (4) | +-,BLocK-------+ '-,Quote------' '-,BIND------' | (2) | '-,SBLocK------' >-----+---------------------------+-----------------------------> '-,CCSIDGraphic--(integer)--' >-----+-------------------------+---+------------------------+--> '-,CCSIDMixed--(integer)--' '-,CCSIDSbcs--(integer)--' .-,NOCHECK--. >-----+------------------------------+---+-----------+----------> '-,CHARSUB--(--+-Sbcs--+---)---' +-,CHECK----+ +-Mixed-+ '-,ERROR----' '-Bit---' >----+------------+---+-------------+---------------------------> | (1) | | (1) | '-,COB2------' '-,COBRC------' .-,CTOKEN--(NO)------------. >-----+--------------------------+------------------------------> '-,CTOKEN--(--+-NO--+---)--' '-YES-' .-,NOEXIST--. >-----+--------------------------+---+-----------+--------------> '-,DATE--(--+-EUR---+---)--' '-,EXIST----' +-ISO---+ +-JIS---+ +-LOCAL-+ '-USA---' .-,EXPLAIN--(NO)------------. >-----+---------------------------+--+-------------+------------> '-,EXPLAIN--(--+-NO--+---)--' | (3) | '-YES-' '-,NOFOR------' >----+--------------+-------------------------------------------| | (5) | '-,DYNALC------'
Notes:
prepparms (continued) .-,NOGRaphic----. .-,ISOLation--(RR)----------------. |--+---------------+---+---------------------------------+------> | (1) | '-,ISOLation--(--+-CS------+---)--' '-,GRaphic------' +-RR------+ | (2) | +-RS------+ +-UR------+ '-USER----' .-,KEEP---. >-----+---------+---+-----------------------+-------------------> '-,REVOKE-' '-,LABEL--(label_text)--' .-,LineCount--(60)------. >-----+-----------------------+---------------------------------> '-,LineCount--(integer)-' >-----+------------------------------------+--------------------> | (2) | '-,OWner--(authorization_name-----)--' .-,PACKAGE--------. .-,PERiod-----. .-,PRint---. >-----+-----------------+---+-------------+---+----------+------> | (7) | | (2) | '-,NOPRint-' '-,NOPACKAGE------' '-,COMma------' .-,PUnch---. >-----+----------+---+-----------------------------------+------> '-,NOPUnch-' | (2) | '-,QUALifier--(collection_id-----)--' .-,RELease--(COMMIT)--------------------. .-,REPLACE--. >-----+---------------------------------------+---+-----------+-> '-,RELease--(--+-COMMIT----------+---)--' '-,NEW------' | (2) | '-DEALLOCATE------' .-,SEQuence--------. .-,SQLApost-----------. >-----+------------------+---+---------------------+------------> | (3) | | (2) (4) | '-,NOSEQuence------' '-,SQLQuote-----------' >----+---------------+------------------------------------------> | (5) | '-,NOSQLCA------' >-----+--------------------------------------------+------------> '-,SQLFLAG--(--+-SAA-----------------+---)---' '-89--+------------+--' '-(COMPLETE)-' .-,STDSQL--(NO)----------------. >-----+------------------------------+--------------------------> '-,STDSQL--(--+-NO------+---)--' | (6) | '-89------' >-----+---------------------------+-----------------------------| '-,TIME--(--+-EUR---+---)---' +-ISO---+ +-JIS---+ +-LOCAL-+ '-USA---'
Notes:
multiple-user-mode-parms |--+------------------------------------+-----------------------| +-DBFile--(--| fileparms |--)--------+ | .----------------. | | V | | '-DBList--(-----server_name---+---)--' single-user-mode-parms |---Dbname----(server_name)---+--------------------+------------> '-dcssID--(dcss_id)--' >-----+---------------------------------------------------+-----| '-LOGmode--(--+-A-+---)----+---------------------+--' +-L-+ '-PARMID--(filename)--' +-N-+ '-Y-'
(1) >>-//--EXEC--PGM=ARIPRPx-------+------------+-------------------> '-,SIZE=AUTO-' >----,PARM=--'--PREPname=--+----------------+--package_id-------> '-collection_id.-' >----,USERid=--authorization_name/password----------------------> >----+----------------------------+-----------------------------> | (2) | '-DBNAME=--server_name-------' >----+------------------------------------------------+--'----->< | .-.A----------. | +-PrepFile=--(--membername--+-------------+---)--+ | '-.membertype-' | | (3) | '-| prepparms |----------------------------------'
Notes:
>>-//--EXEC--PGM=ARISQLDS--,SIZE=AUTO---------------------------> .----------------------------------. V | >----,PARM=-----+---------------------------+---+---------------> '-initialization_parameter,-' (1) >----PROGNAME=ARIPRPx-------,PARM=--'---------------------------> >----PREPname=--+----------------+--package_id------------------> '-collection_id.-' >----,USERid=--authorization_name/password----------------------> >-----+----------------------------+----------------------------> | (3) | '-DBNAME=--server_name-------' >----+------------------------------------------------+--'----->< | .-.A----------. | +-PrepFile=--(--membername--+-------------+---)--+ | '-.membertype-' | | (3) | '-| prepparms |----------------------------------'
Notes:
>>-CBND----PACKAGE(-+----------------+--+------------+--+---+---> '-collection_id.-' '-package_id-' '-)-' >-----+---------------------------------+-----------------------> '- INfile--(--private_file_id--)--' >-----+--------------------------------------------------------+->< | .---------------------------------------------------. | | V | | +----+-+-NEW-----------------+----------------------+--+-+ | | '-REPLACE--+--------+-' | | | | +-KEEP---+ | | | | '-REVOKE-' | | | +-OWner--(--authorization_name----)------------+ | | +-QUALifier--(--collection_id----)-------------+ | | +-+-NOCHECK-+----------------------------------+ | | | +-CHECK---+ | | | | '-ERROR---' | | | | .----------------. | | | | V | | | | +-DBList--(-----server_name---+---)------------+ | | +-USERid--(--authorization_name/password----)--+ | | '-MSGQueue--(--name----)-----------------------' | '-QRY----------------------------------------------------'
Note: | For any options not specified on the CBND transaction, the default option will be the option specified when the package was preprocessed, unless otherwise noted. |