Eh?  I was simply asking the same question you asked - why "should" you
code SPACE=(TRK,(1,1))?  Then I included an example showing that it
isn't necessary.  

I wasn't asking why it worked.  

Greg    


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Paul Gilmartin
Sent: Thursday, April 08, 2010 9:32 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: JCL QUESTION

>
>BTW, SPACE=(1,1) should be SPACE=(TRK,(1,1)).
>
>Why?  If I run:
>
>//DPC088IF JOB (DPC088,JDG),'IEFBR14',CLASS=A,MSGCLASS=X,
>//         MSGLEVEL=(1,1),NOTIFY=DPC088
>//    EXEC PGM=IEFBR14
>//SYSPRINT  DD SYSOUT=*
>//SYSOUT    DD SYSOUT=*
>//TEST      DD DSN=DPC088.TEST.TEST.ALLOC,DISP=(MOD,DELETE,DELETE),
>//         SPACE=(1,1)
>
Perhaps the same reason you allocate SYSPRINT and SYSOUT in an IEFBR14
step.  (What about SYSIN?)  Habit?  Perhaps your installation has a
different version of IEFBR14 from mine.

I used SPACE=(1,0).  I'm a minimalist.  Does thle involve less
work cleaning up the VTOC on DELETE?  But I agree, IDCAMS is
better; it avoids a job step with 3 allocations, and it avoids
creating a data set only to delete it immediately.

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

Reply via email to