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
 
Receive (unload) a XMIT file to a PDS on Mainframe.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Mon Mar 16, 2009 10:36 pm    Post subject: Receive (unload) a XMIT file to a PDS on Mainframe.
Reply with quote

Hi,

I need to receive (unload) a XMIT file to a PDS on Mainframe. Right now I do it using the following command

Code:
TSO RECEIVE INDATASET('TSTQ.SKELS')


on prompt I enter following parameter

Code:
DA('TSBQ.SKELS.PDS') UNIT(TSO)


That gives me all the members unloaded to my PDS.

However I want to do this processing using a JCL because I need to unload multiple XMIT files to JCL.

Can someone suggest how to perform the above mentioned functionality thru the JCL.

Thank you
Manohar
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Mar 16, 2009 10:43 pm    Post subject:
Reply with quote

What program will you be executing ?
Back to top
View user's profile Send private message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Mon Mar 16, 2009 11:46 pm    Post subject:
Reply with quote

I can execute IEBCOPY or IKJEFT01

Thank you,
Manohar
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Mar 18, 2009 4:30 am    Post subject:
Reply with quote

Hi,

I'm not sure if this is what you are after, but this is a RECEIVE job that I use

Code:
//ALLOCATE EXEC PGM=IEFBR14                                             
//TO#FILE  DD DSN=receiving-pds,                                       
//            DISP=(,CATLG,DELETE),                                     
//            UNIT=SYSDA,                                               
//            SPACE=(TRK,(175,25,250)),                           
//            DCB=(RECFM=FB,LRECL=080)                                 
//**********************************************************************
//RECEIVE  EXEC PGM=IKJEFT01,                                           
//            REGION=5000K,                                             
//            DYNAMNBR=30                                               
//FROMFILE DD DSN=input-dsname,                                         
//            DISP=SHR                                                 
//SYSPRINT DD  SYSOUT=*                                                 
//SYSTSPRT DD SYSOUT=*                                                 
//SYSTSIN  DD  *                                                       
 RECEIVE   +                                                           
 INDDNAME(FROMFILE)                                                     
 DATASET('receiving-pds')                                               
/*



Gerry
Back to top
View user's profile Send private message
manoopatil

New User


Joined: 07 Dec 2003
Posts: 56
Location: Montreal

PostPosted: Wed Mar 18, 2009 7:11 pm    Post subject:
Reply with quote

Hey Gerry, I was exactly after this one. Thank you for you help.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Mar 19, 2009 3:05 am    Post subject:
Reply with quote

Hi,

I'm glad it helped.


Gerry
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am

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