IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to use one process output as another process's input?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
benson

New User


Joined: 11 Aug 2005
Posts: 1

PostPosted: Tue Sep 20, 2005 6:11 am
Reply with quote

I want to use pre process output as the second process's input source in one jcl ,who can tell me how to do this ? Thanks a lot .
Back to top
View user's profile Send private message
suvarna

New User


Joined: 24 Aug 2005
Posts: 13

PostPosted: Tue Sep 20, 2005 10:03 am
Reply with quote

What is the process that you r doing in the two steps?
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Tue Sep 20, 2005 1:50 pm
Reply with quote

Benson,

I assume that you are creating a output in a step,eg.,step2 and feeding this as input to next step,eg.step3.

If you are looking for the above,then go thru the following sample.
Unless,explain your query.

Code:
//WPSS02   EXEC PGM=AAA9,                             
//*                                                   
//INFILE    DD  DSN=AAAA.BBBB.CCCC,         
//            DISP=SHR                                 
//*                                                   
//OUTFILE   DD  DSN=AAAA.BBBB.DDDD
//            DISP=(NEW,CATLG,DELETE),                 
//            UNIT=SYSDA,SPACE=(CYL,(201,50),RLSE),   
//            DCB=(RECFM=FB,LRECL=137,BLKSIZE=0)       
//*                                                   
//SYSOUT     DD  SYSOUT=*                           
//*                                                 
//WPSS04   EXEC PGM=BBB9,                       
//*                                                 
//SORTIN       DD  DSN=AAAA.BBBB.DDDD,
//            DISP=SHR                             
//*                                                 
//SORTOUT      DD  DSN=AAAA.BBBB.EEEE,
//            DISP=(NEW,CATLG,DELETE),             
//            UNIT=SYSDA,SPACE=(TRK,(20,10),RLSE), 
//            DCB=(RECFM=FB,LRECL=137,BLKSIZE=0)   
//SYSOUT    DD SYSOUT=*
//


Hope this helps.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts force tablespace using LISTDEF input DB2 1
Search our Forums:

Back to Top