Page 1 of 1

read PS

PostPosted: Mon Dec 07, 2009 4:05 pm
by Myguru
I have a PS file,which inturn has various PS file as records in different lines.Now I have to Process each PS file which appear as a record.Can u help me out how to do this via JCL/REXX?

Re: read PS

PostPosted: Mon Dec 07, 2009 4:16 pm
by MrSpock
Probably. Obviously you'll need to provide a whole lot more details of what you want, how you want it, required inputs and outputs, etc.

Re: read PS

PostPosted: Mon Dec 07, 2009 4:31 pm
by Myguru
I have a PS file.
It has 10 PS file as records say
HLQ.PS1
HLQ.PS2...

Now I need to process the Files HLQ.PS1,HLQ.PS2..and so on..

How can we achieve that

Re: read PS

PostPosted: Mon Dec 07, 2009 5:05 pm
by expat
As Mr Spock has said, you need to provide A LOT MORE information.

How are you going to process the file list would be a good start.

But .................

Read file, process record in selected fashion, loop back and read next record. At EOF stop run.

Re: read PS

PostPosted: Mon Dec 07, 2009 6:32 pm
by Myguru
I bascially have to sort file using OMIT and Include Conditions.But there are several backup which I am thinking to put in a PS file and submit it.

Re: read PS

PostPosted: Mon Dec 07, 2009 7:20 pm
by expat
Backups .................... they are exactly that, backups and as such should remain unchanged in any way shape or form from their original creation.

You cock it up on the file and the backups - then you have no backups to recover from.