JCL looks like:


//STEP  EXEC  PGM=IEBGENER

//SYSPRINT  DD  SYSOUT=*

//SYSIN  DD  DUMMY

//SYSUT1  DD  DISP=SHR,DSN=your-input-dataset

//SYSUT2  DD  DISP=SHR,DSN=output-pds(member-name)

You can use SHR or OLD for DISP



Chris Blaicher

Principal Software Engineer, Software Development

Syncsort Incorporated

50 Tice Boulevard, Woodcliff Lake, NJ 07677

P: 201-930-8260  |  M: 512-627-3803

E: cblaic...@syncsort.com



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Marchant
Sent: Thursday, March 20, 2014 9:41 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Now IEBGENER, Was Help with IEBCOPY?



On Wed, 19 Mar 2014 21:04:55 +0000, Hansen, Dave L - Eagan, MN 
<dave.l.han...@usps.gov> wrote:



>I have been working with these control statements using IEBGENER:



You don't need to use control statements

>My input file is a sequential file.  My output is a PDS.  Both are predefined. 
> Generate is required for a PDS.



Your output file is a PDS MEMBER. A PDS member is a sequential data set. You 
don't need GENERATE.



--

Tom Marchant



----------------------------------------------------------------------

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

________________________________



ATTENTION: -----

The information contained in this message (including any files transmitted with 
this message) may contain proprietary, trade secret or other confidential 
and/or legally privileged information. Any pricing information contained in 
this message or in any files transmitted with this message is always 
confidential and cannot be shared with any third parties without prior written 
approval from Syncsort. This message is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any use, disclosure, copying or distribution of this message, in any form, is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and/or Syncsort and destroy all copies of this 
message in your possession, custody or control.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to