Loading...
Select Version
&pagelevel(4)&pagelevel
Depending on whether or not quotation marks and the escape character are specified for those predefined functions which accept file names or variables, different actions will be performed. In the normal situation, what happens will be the same as with the other predefined functions. However, it should be noted that the behavior is not comparable with BS2000 commands (e.g. DMS commands), and consequently the results may at first sight appear surprising.
Example of a function which accepts file names
/FILE = 'ABC' /A=IS-CATALOGED-FILE(FILE) "TESTS, WHETHER 'ABC' IS CATALOGED" /A=IS-CATALOGED-FILE('FILE') "TESTS, WHETHER 'FILE' IS CATALOGED" /A=IS-CATALOGED-FILE('&FILE') "TESTS, WHETHER 'ABC' IS CATALOGED"
Example of a function which accepts variable names
/A = 'B' /B = 0 /CURRENT-TYPE('A') "RETURNS *STRING" /CURRENT-TYPE(’B’) "RETURNS *INTEGER"