CALL "C$PARAMSIZE" USING paramNum GIVING paramSize |
paramNum | any numeric data item | Specifies the ordinal number of the parameter you want to get the size. The first parameter in the USING list is identified by 1. |
working-storage section. 77 str-size pic 9(5). linkage section. 01 the-string pic x(512). procedure division using the-string. main. call "c$paramsize" using 1 giving str-size inspect the-string(1:str-size) replacing all "," by "|" goback. |