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 FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 1 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm


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