Reply to user defined options

We use the user-defined options from PDM also. As a reminder, for the command to prompt for information enter '??'...

in front of the parameter name.

Following are some examples:

AL ALCOBJ ??OBJ((&L/&N &T *EXCL))
To allocate exclusive use of an object

DL DLCOBJ ??OBJ((&L/&N *FILE *EXCL))
To de-allocate exclusive use of a file

CD CRTDUPOBJ ??OBJ(&N) ??FROMLIB(&L) ??OBJTYPE(*FILE)
??TOLIB(*FROMLIB)
??NEWOBJ(*OBJ) ??DATA(*NO)
To create a dupe object

CF CPYF ??FROMFILE(&L/&N) ??TOFILE(&L/&N) ??MBROPT(*REPLACE)
??CRTFILE(*YES)
To copy a file

CL CLRPFM ??FILE(&L/&F) ??MBR(&N)
To clear a member

C2 CPYTOPCD ??FROMFILE(&L/&F) ??TOFLR('AS400DTA/MYFLDR')
??FROMMBR(&N)
??TODOC(&N) ??REPLACE(*NO)
To copy a member to IFS

LK WRKOBJLCK ??OBJ(&L/&N) ??OBJTYPE(&t)
To check for object locks

SJ SBMJOB ??CMD(CALL PGM(&N)) ??JOBQ(*JOBD) ??SCDDATE(*CURRENT) ??SCDTIME(*CURRENT)
To submit a job

We use others without parameters too. Such as SP = wrksplf, or WA = wrkactjob or my favorite ZZ = signoff


This was last published in March 2001

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close