SOURCELINE

Read syntax diagramSkip visual syntax diagram
>>-SOURCELINE--(--+---+--)-------------------------------------><
                  '-n-'      

returns the line number of the final line in the program if you omit n, or returns the nth line in the program if you specify n. If specified, n must be a positive whole number and must not exceed the number of the final line in the program.
Here are some examples:
SOURCELINE()    ->   10
SOURCELINE(1)   ->   '/* This is a 10-line REXX program */'

Reference Reference

Feedback


Timestamp icon Last updated: Tuesday, 7 January 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.rexx.doc//dfhrx/dfhrxbn.html