On Thu, 20 Mar 2014 08:31:27 -0400, Shmuel Metz (Seymour J.) wrote:
>
>>The plain old IEBGENER would be best batch option for a non-source
>>type dataset,
>
>Why is it bettwer than, e.g., IDCAMS REPRO?
>
Choose your evil.  It's all relative.

IEBGENER:
o Allows the programmer to omit (some) attributes from SYSUT2, in which
  case they are (optionally) replicated from SYSUT1
o Requires that supplied attributes of SYSUT2 be compatible with SYSUT1.

REPRO:
o Requires that the programmer supply (more) attributes of the output file
o Allows the attributes of the output file to differ (more) from the inout file.

On Thu, 20 Mar 2014 08:41:21 -0500, Tom Marchant wrote:
>
>Your output file is a PDS MEMBER. A PDS member is a sequential data set. You 
>don't need GENERATE.
> 
The OP's initial objective appeared to involve some editing, in which case
he needs a control file.


On 2014-03-20, at 07:49, Blaicher, Christopher Y. wrote:
>
>//SYSUT2  DD  DISP=SHR,DSN=output-pds(member-name)
>
>You can use SHR or OLD for DISP
>
Beware.  If you use SHR for PDS SYSUT2 and your two jobs run
concurrently, Bad Things might happen.  PDSE and/or newer releases
of z/OS may be more robust.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to