Page 1 of 1

temporary dataset in rexx

PostPosted: Mon Feb 22, 2010 1:11 pm
by Balamurugan3
I am a begginer in REXX .... I have an requirement where i need to read a dataset process the records in the file and move the processed records to a temporary dataset...the same REXX code should pick this temp dataset contents and do some manipulations and write to an final output file.....

I just want to know how to create this tempoary datset and make use of it....


Many Thankx
Bala...

Re: temporary dataset in rexx

PostPosted: Mon Feb 22, 2010 5:09 pm
by expat
The same way that you would allocate any other dataset.

You can use a named dataset and delete it at end of process, or allocate a true temporary dataset.
Check out the TSO manuals for the ALLOCATE command.