I tried using DISP=MOD but it failed with SB14-04.
Duplicate name in the directory. I suppose that will happen no matter which 
utility you use, IEBGENER, IDCAMS or your own program. Oh well. I didn't know 
you couldn't use DISP=MOD for a PDS or library. 


        Regards,
                Eric Verwijs
Programmer Analyst | Programmeur-analyste
CPP/ OAS/ IA Production Support Team | Équipe de soutien à la production RPC / 
SV / IA
[email protected]
Telephone | Téléphone 613-941-7492
Facsimile | Télécopieur 613-941-4234
National Headquarters | Administration Centrale
Human Resources and Skills Development Canada | Ressources humaines et 
Développement des compétences Canada
Government of Canada | Gouvernement du Canada

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Adam Johanson
Sent: Monday, February 14, 2011 1:12 PM
To: [email protected]
Subject: Re: Adding Lines to End of Member

>Not very pretty....

>//COPSTEP EXEC PGM=IEBGENER
>//SYSPRINT DD SYSOUT=*
>//SYSIN    DD DUMMY
>//SYSUT1 DD DISP=SHR,DSN=my.pds(MEMBERNAME)
>//       DD *
>        Some kind of junk
>        More junk
>//SYSUDUMP DD SYSOUT=*
>//SYSUT2 DD DISP=(SHR),DSN= my.pds(MEMBERNAME)

   Ah yeah, good thought. That works; thanks.

   - Adam

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to