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
 

 

IEBCOPY syntax from command line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
DwChilders

New User


Joined: 14 Apr 2006
Posts: 7

PostPosted: Tue May 09, 2006 3:04 am    Post subject: IEBCOPY syntax from command line
Reply with quote

There are loads of examples of IEBCOPY within JCL, but for the life of me I can't locate any examples of IEBCOPY from the command line. Can anyone forward a simple command that copies from one PDS member to a flat dataset?
Back to top
View user's profile Send private message

satya12

New User


Joined: 25 Apr 2006
Posts: 32
Location: India

PostPosted: Thu May 11, 2006 2:19 am    Post subject: Re: IEBCOPY syntax from command line
Reply with quote

Hi

You can give below commands at Ready prompt

ALLOC FI(SYSUT1) SHR DA('INPUT PDS')
ALLOC FI(SYSUT2) OLD DA('OUT PUT PDS')
ALLOC FI(SYSPRINT) SYSOUT"
ALLOC FI(SYSIN) SHR DA('control statement datalib member')
CALL 'SYS1.LINKLIB(IEBCOPY)'
FREE FI(SYSUT1 SYSUT2 SYSIN SYSPRINT)

control stmt can be COPY OUTDD=SYSUT2,INDD=SYSUT1

If you want to copy a single PDS member to a flat file go inside the PDS type "C" against the member then you'll another screen to asking for the destination dataset.

Sorry if you already knew this.

Thanks
Sathya
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


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