%MYPRINT MEMORIAL DRIVE CAMBRIDGE ------------------------------------ /REXX/ PARSE UPPER ARG LASTN . SAY LASTN -------------------------------------- RESULT?
MEMORIAL
DRIVE
MEMORIAL DRIVE CAMBRIDGE
CAMBRIDGE
%MYPRINT MEMORIAL DRIVE CAMBRIDGE ------------------------------------ /REXX/ PARSE UPPER ARG LASTN FIRSTN SAY FIRSTN -------------------------------------- RESULT?
DRIVE CAMBRIDGE
%MYPRINT ABCDEFGHIJKLMNOP ------------------------------------ /*REXX */ PARSE ARG 1 VAR1 5 7 VAR2 9 -------------------------------------- RESULT?
VAR1 = ABCDE ; VAR2 = GHE
VAR1 = ABCD ; VAR2 = GH
VAR1 = ABCDE ; VAR2 = GHIJKLMNOP
VAR1 = ABCDEFG; VAR2 = HI
SIGL instruction ?
set to the line number of the REXX program from which the transfer of Control statment
set to the command of the REXX program causes error
set to the subroutine name of the REXX program causes error
set to the return code that was set by an environment command
Pick the REXX reserved variables from the following list?
RC
RESULT
ADDRESS
SIGL
SAY VERIFY('SUSAN','ABNTUSV') result : 0
True
False
SAY TRUNC(1234.5,3) Result:
1234.5
1234.500
123
234
SYSDSN(dataset name) instruction helps to ?
Defines the dataset name in system Catalog
Uncatalog the dataset name given
Tells if a dataset name exists
none
NEW_STRING = STRIP(' MUCH BLANK SPACE ',B) SAY NEW_STRING
" MUCH BLANK SPACE "
" MUCH BLANK SPACE"
"MUCH BLANK SPACE "
"MUCH BLANK SPACE"
CALL LISTDSI dataset name?
Retrieves complete information about dataset name
Retrivess list of dataset names similar to the given dataset name
Retrives RACF details of dataset name
Retrives the attributes of a dataset