/* REXX */
ADDRESS ISREDIT
"MACRO (PARM)"
PARM = TRANSLATE(PARM)
IF PARM = "COBOL" ! PARM = "" THEN
DO
"HI COBOL"
"STATS ON"
"CAPS OFF"
END
IF PARM = "REXX" THEN
DO
"HI REXX"
"STATS ON"
"CAPS OFF"
END
IF PARM = "JCL" THEN
DO
"HI JCL"
"STATS ON"
"CAPS OFF"
END
EXIT
Save this REXX macro as SETPROF.
Examples:
To set the profile for JCL : TSO SETPROF JCL
To set the profile for REXX : TSO SETPROF REXX
To set the profile for COBOL : TSO SETPROF (or) TSO SETPROF COBOL
Executing this macro without any parameters would set the profile for COBOL.
ADDRESS ISREDIT
"MACRO (PARM)"
PARM = TRANSLATE(PARM)
IF PARM = "COBOL" ! PARM = "" THEN
DO
"HI COBOL"
"STATS ON"
"CAPS OFF"
END
IF PARM = "REXX" THEN
DO
"HI REXX"
"STATS ON"
"CAPS OFF"
END
IF PARM = "JCL" THEN
DO
"HI JCL"
"STATS ON"
"CAPS OFF"
END
EXIT
Save this REXX macro as SETPROF.
Examples:
To set the profile for JCL : TSO SETPROF JCL
To set the profile for REXX : TSO SETPROF REXX
To set the profile for COBOL : TSO SETPROF (or) TSO SETPROF COBOL
Executing this macro without any parameters would set the profile for COBOL.
No comments:
Post a Comment