Joined: 03 Feb 2007 Posts: 175 Location: PUNE(INDIA)
OK..........seems I have to tell my original requirement ! :-)
I want to develop a REXX program and use as a TSO comamnd. This will serve a purpose of counting no of records in a VSAM file. Now I tried to write it in a pure REXX. It noticed 2 disadvantages.
1) Terminal remians hanged till the entire file is read. This is a problem for big files.
2) For big files I got error saying no space for read data.
To avoid this I turned to JCL thru rexx option.
a) Is there any function in REXX that will give record count without rading or saving read records ?
b) any other option in REXX to solve space problem and which will work fast ( as terminal remains hanged ) ?