> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Ed Rohr > Sent: Tuesday, February 05, 2008 2:11 PM > To: [email protected] > Subject: VSAM Surprise > > > Hi List - > > How about an AMS Repro that gets a zero completion code, an a good > output record count, > AND Creates an unusable output dataset. > > //STEP1 EXEC PGM=IDCAMS,REGION=8M > //SYSPRINT DD SYSOUT=* > //DD1 DD DISP=SHR,DSN=MY.VSAM.CLUSTER > //DD2 DD DSN=MY.UNUSABLE,UNIT=SYSDA,DISP=(,CATLG,DELETE), > // DCB=(LRECL=32756,BLKSIZE=32760,RECFM=VB), > // SPACE=(CYL,(7,1,43),RLSE) > //SYSIN DD * > REPRO IFILE(DD1) OFILE(DD2) > > > Notice that there are directory blocks - coded in error. > Yep, an unusable PDS, with no warning or error messages. > > > Enjoy, > > Ed Rohr
BTDT with IEBGENER as well. IIRC, I could read the sequential output by putting a DCB=DSORG=PS on the DD statement. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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

