Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to use one process output as another process's input?
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    Post subject:
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: 436
Location: chennai, India

PostPosted: Tue Sep 20, 2005 1:50 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 7 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us