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
 

 

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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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