Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us