read PS



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

read PS

Postby Myguru » Mon Dec 07, 2009 4:05 pm

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?
Myguru
 
Posts: 7
Joined: Mon Nov 30, 2009 5:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: read PS

 

Re: read PS

Postby MrSpock » Mon Dec 07, 2009 4:16 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: read PS

Postby Myguru » Mon Dec 07, 2009 4:31 pm

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
Myguru
 
Posts: 7
Joined: Mon Nov 30, 2009 5:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: read PS

Postby expat » Mon Dec 07, 2009 5:05 pm

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.
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time

Re: read PS

Postby Myguru » Mon Dec 07, 2009 6:32 pm

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.
Myguru
 
Posts: 7
Joined: Mon Nov 30, 2009 5:30 pm
Has thanked: 0 time
Been thanked: 0 time

Re: read PS

Postby expat » Mon Dec 07, 2009 7:20 pm

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.
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post