The following examples illustrate the difficulties that arise when ISP commands containing procedure parameters as operands are to be converted to SDF format.
The SDF command is determined by the ISP operand value
/CATJV ... ,STATE=UPDATE
/CATJV ... ,STATE=NEW
/CATJV ... ,STATE=&OP1
->
->
->
/MODIFY-JV-ATTRIBUTES ...
/CREATE-JV ...
/ ?
The SDF operand value is determined by the ISP operand value
/EXECUTE ... ,SYMTEST=NO
/EXECUTE ... ,SYMTEST=ALL
/EXECUTE ... ,SYMTEST=&OP2
/GETJV <name>
/GETJV *<name>
/GETJV &OP3
->
->
->
->
->
->
/START-PROGRAM ... ,TEST-OPTIONS=NONE
/START-PROGRAM ... ,TEST-OPTIONS=AID
/START-PROGRAM ... ,TEST-OPTIONS= ?
/SHOW-JV JV-ID=JV-NAME(JV-NAME=<name>)
/SHOW-JV JV-ID=JV-LINK(JV-LINK=<name>)
/SHOW-JV JV-ID= ?
Note
Command records containing procedure parameters, or in which job variables are to be replaced, can be excluded from conversion by specifying the operand PARAMETER-LINES = *COPY-ONLY in the CONVERT statement. Instead of converting the command records concerned, SDF-CONV writes them unchanged to the output procedure. No messages are issued in such cases.
The following tables provide an overview of the commands that are not converted if the listed positional and/or keyword operands are specified as procedure parameters.
<i> | means that the i-th positional operand must not be a parameter. |
Commands for non-privileged users
ISP command
No parameter
as positional
operand ...No parameter as a value of the keyword
operand ...CANCEL
<2> ,<3>
CATJV
SHARE=, STATE=
COPY
DIALOG=, WRITE=
DELON
<1>
ENTER
LOG=, TIME=
ERAJV
all operands
ERASE
<1> ,<2>
CR=, EX=, LA=, LIST=, POS=
EXECUTE
<1>
CLASSII=, IDA=, SYMTEST=
FSTATUS
<2>
CRDATE=, EXDATE=, EXTENDS=, FREESIZE=,
FROM=, LADATE=, LIST=, PASS=, SHARE=, SIZE=,
SORT=, SUPPORT=, STATE=, TYPE=, VTOC=GETJV
<1>
HELP
INF=
IMPORT
LIST=
LOAD
<1>
CLASSII=, IDA=, SYMTEST=
LOGOFF
<1> ,<2>
OPTION
MSG=, TESTPRIV=
PASSWORD
REL=
PRINT
<1> ,<2>
BINARY=, CHARS-POOL=,CONTROL=, COPIES=,
DEFER=, DELETE-FILE=, DEVICE=, DEVIN=, FROM=,
LOOP=, ROTATION=, SPACE=, TAPE=, TO=,
TRANSLATION-TABLE=, VOLUME=PRIORITY
<2>
PUNCH
<1> ,<2>
ACCESS=, BY-PASS=, DEVICE=, DEVIN=, FDTYPE=,
SKEL=, TAPE=, VOLUME=, BLKTYPE=, WRITEPR=RDTFT
<1>
LINK=
RELEASE
<2>
RESTART
<2> ,<3>
CHECK=
SECURE
FILE=, VOLUME=
SETJV
<1> ,<2>
SETSW
INVERT=, OFF=, ON=
SET-SS-
OPTIONSSS-NAME=
SKIP
<1>
SPARAM
COMPRESS=
SQUC
REL=, SUSP=, TYPE=
STAJV
<1> ,<2>
STATUS
<1> ,<2>
DISP=, IDENT=, INTYPE=, TIMEREQ=, TYPE=
SYSFILE
SYSDTA=, SYSIPT=, SYSLST=, ..., TASKLIB=
SYSTATUS
<1>
TCHNG
OFLOW=, READ=, TCHAR=
VERIFY
REPAIR=, SUPPORT=
Table 13: Restrictions affecting procedure parameters as operands (non-privileged users)
Commands for the system administration
ISP command
No parameter
as positional
operand ...No parameter as a value of the keyword
operand ...CATM
BUFCLS=, STATE=, WAIT=
EXCAT
<2>
IMCAT
ACNTNUM=, BUFCLS=, FORM=
MSGCONTROL
FILE=
RFD
USE=
SEVER
<2>
SPMGT
SECONDARY=
SQUC
REL=, SUSP=, TYPE=
STAM
<1>
HOST=, REF=
Table 14: Restrictions affecting procedure parameters as operands (system administration)