Re: Space allocation from REFDD?

2011-03-11 Thread Frank Swarbrick
I guess I should mention that LIKE with a DSN does work as expected.

On 3/11/2011 at 10:00 AM, in message 4d79f2d2.6f0f.008...@efirstbank.com,
Frank Swarbrick frank.swarbr...@efirstbank.com wrote:
 The documentation states:
 
 REFDD Parameter
 
 The following attributes are copied to the new data set from (1) the 
 attributes specified on the referenced DD statement, and (2) for attributes 
 not specified on the referenced DD statement, from the data class of the data 
 set specified by the referenced DD statement: 
 
 - Data set organization 
   - Record organization (RECORG) or 
   - Record format (RECFM) 
 - Record length (LRECL) 
 - Key length (KEYLEN) 
 - Key offset (KEYOFF) 
 - Type, PDS or PDSE (DSNTYPE) 
 - Space allocation (AVGREC and SPACE) 
 
 Yet I get this error:
 
 IEF344I CIRRUS01 BACKUP RPTBKUP - ALLOCATION FAILED DUE TO DATA FACILITY 
 SYSTEM ERROR
 IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET 
 
 DEV.ATM.CIRRPT.BKP.G0006V00  
 
 
 Here is my JCL:
 
 //CIRRUS01 JOB ,'CIRRUS REPORTS',NOTIFY=SYSUID
 //BACKUP   EXEC PGM=ICEMAN,COND=(4,LT),PARM=ABEND  
 //SYSINDD *
   OPTION COPY  
   OUTFIL FNAMES=RPTBKUP
 //SYSOUT   DD SYSOUT=* 
 //SORTIN   DD DSN=DEV.RXMTIN.ATM.CIRRPT,   
 //DISP=SHR 
 //RPTBKUP  DD DSN=DEV.ATM.CIRRPT.BKP(+1),  
 //REFDD=*.SORTIN,  
 //UNIT=(,7),   
 //DISP=(NEW,CATLG,DELETE)  
 
 What am I doing wrong?
 
 Frank

 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

--
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


Re: Space allocation from REFDD?

2011-03-11 Thread Scott Rowe
The DD you are referring to does not contain any space information, AFAIK it
will not go to the DSCB for that info, it is only copying it from what is in
the JCL text.

On Fri, Mar 11, 2011 at 12:00 PM, Frank Swarbrick 
frank.swarbr...@efirstbank.com wrote:

 The documentation states:

 REFDD Parameter

 The following attributes are copied to the new data set from (1) the
 attributes specified on the referenced DD statement, and (2) for attributes
 not specified on the referenced DD statement, from the data class of the
 data set specified by the referenced DD statement:

 - Data set organization
  - Record organization (RECORG) or
  - Record format (RECFM)
 - Record length (LRECL)
 - Key length (KEYLEN)
 - Key offset (KEYOFF)
 - Type, PDS or PDSE (DSNTYPE)
 - Space allocation (AVGREC and SPACE) 

 Yet I get this error:

 IEF344I CIRRUS01 BACKUP RPTBKUP - ALLOCATION FAILED DUE TO DATA FACILITY
 SYSTEM ERROR
 IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET
 DEV.ATM.CIRRPT.BKP.G0006V00

 Here is my JCL:

 //CIRRUS01 JOB ,'CIRRUS REPORTS',NOTIFY=SYSUID
 //BACKUP   EXEC PGM=ICEMAN,COND=(4,LT),PARM=ABEND
 //SYSINDD *
  OPTION COPY
  OUTFIL FNAMES=RPTBKUP
 //SYSOUT   DD SYSOUT=*
 //SORTIN   DD DSN=DEV.RXMTIN.ATM.CIRRPT,
 //DISP=SHR
 //RPTBKUP  DD DSN=DEV.ATM.CIRRPT.BKP(+1),
 //REFDD=*.SORTIN,
 //UNIT=(,7),
 //DISP=(NEW,CATLG,DELETE)

 What am I doing wrong?

 Frank

 --

 Frank Swarbrick
 Applications Architect - Mainframe Applications Development
 FirstBank Data Corporation - Lakewood, CO  USA
 P: 303-235-1403


 

 The information contained in this electronic communication and any document
 attached hereto or transmitted herewith is confidential and intended for the
 exclusive use of the individual or entity named above.  If the reader of
 this message is not the intended recipient or the employee or agent
 responsible for delivering it to the intended recipient, you are hereby
 notified that any examination, use, dissemination, distribution or copying
 of this communication or any part thereof is strictly prohibited.  If you
 have received this communication in error, please immediately notify the
 sender by reply e-mail and destroy this communication.  Thank you.

 --
 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


CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
confidential and privileged information intended only for the addressee.
If you are not the intended recipient, please be advised that you have
received this material in error and that any forwarding, copying, printing,
distribution, use or disclosure of the material is strictly prohibited.
If you have received this material in error, please (i) do not read it,
(ii) reply to the sender that you received the message in error, and
(iii) erase or destroy the material. Emails are not secure and can be
intercepted, amended, lost or destroyed, or contain viruses. You are deemed
to have accepted these risks if you communicate with us by email. Thank you.

--
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


Re: Space allocation from REFDD?

2011-03-11 Thread Frank Swarbrick
Ah-hah, ok.  Re-reading the docs with that knowledge in mind I see that I made 
an assumption and that assumption made me misread the docs.  Happens too often. 
 Thanks!
Frank
-- 

Frank Swarbrick
Applications Architect - Mainframe Applications Development
FirstBank Data Corporation - Lakewood, CO  USA
P: 303-235-1403


On 3/11/2011 at 10:15 AM, in message
AANLkTim5SDzJyvfiHfe1OFXQDHpZ=qvpcyp8oucun...@mail.gmail.com, Scott Rowe
scott.r...@joann.com wrote:
 The DD you are referring to does not contain any space information, AFAIK it
 will not go to the DSCB for that info, it is only copying it from what is in
 the JCL text.
 
 On Fri, Mar 11, 2011 at 12:00 PM, Frank Swarbrick 
 frank.swarbr...@efirstbank.com wrote:
 
 The documentation states:

 REFDD Parameter

 The following attributes are copied to the new data set from (1) the
 attributes specified on the referenced DD statement, and (2) for attributes
 not specified on the referenced DD statement, from the data class of the
 data set specified by the referenced DD statement:

 - Data set organization
  - Record organization (RECORG) or
  - Record format (RECFM)
 - Record length (LRECL)
 - Key length (KEYLEN)
 - Key offset (KEYOFF)
 - Type, PDS or PDSE (DSNTYPE)
 - Space allocation (AVGREC and SPACE) 

 Yet I get this error:

 IEF344I CIRRUS01 BACKUP RPTBKUP - ALLOCATION FAILED DUE TO DATA FACILITY
 SYSTEM ERROR
 IGD17045I SPACE NOT SPECIFIED FOR ALLOCATION OF DATA SET
 DEV.ATM.CIRRPT.BKP.G0006V00

 Here is my JCL:

 //CIRRUS01 JOB ,'CIRRUS REPORTS',NOTIFY=SYSUID
 //BACKUP   EXEC PGM=ICEMAN,COND=(4,LT),PARM=ABEND
 //SYSINDD *
  OPTION COPY
  OUTFIL FNAMES=RPTBKUP
 //SYSOUT   DD SYSOUT=*
 //SORTIN   DD DSN=DEV.RXMTIN.ATM.CIRRPT,
 //DISP=SHR
 //RPTBKUP  DD DSN=DEV.ATM.CIRRPT.BKP(+1),
 //REFDD=*.SORTIN,
 //UNIT=(,7),
 //DISP=(NEW,CATLG,DELETE)

 What am I doing wrong?

 Frank

 --

 Frank Swarbrick
 Applications Architect - Mainframe Applications Development
 FirstBank Data Corporation - Lakewood, CO  USA
 P: 303-235-1403


 

 The information contained in this electronic communication and any document
 attached hereto or transmitted herewith is confidential and intended for the
 exclusive use of the individual or entity named above.  If the reader of
 this message is not the intended recipient or the employee or agent
 responsible for delivering it to the intended recipient, you are hereby
 notified that any examination, use, dissemination, distribution or copying
 of this communication or any part thereof is strictly prohibited.  If you
 have received this communication in error, please immediately notify the
 sender by reply e-mail and destroy this communication.  Thank you.

 --
 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 

 
 CONFIDENTIALITY/EMAIL NOTICE: The material in this transmission contains
 confidential and privileged information intended only for the addressee.
 If you are not the intended recipient, please be advised that you have
 received this material in error and that any forwarding, copying, printing,
 distribution, use or disclosure of the material is strictly prohibited.
 If you have received this material in error, please (i) do not read it,
 (ii) reply to the sender that you received the message in error, and
 (iii) erase or destroy the material. Emails are not secure and can be
 intercepted, amended, lost or destroyed, or contain viruses. You are deemed
 to have accepted these risks if you communicate with us by email. Thank you.
 
 --
 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

 

The information contained in this electronic communication and any document 
attached hereto or transmitted herewith is confidential and intended for the 
exclusive use of the individual or entity named above.  If the reader of this 
message is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient, you are hereby notified that any 
examination, use, dissemination, distribution or copying of this communication 
or any part thereof is strictly prohibited.  If you have received this 
communication in error, please immediately notify the sender by reply e-mail 
and destroy this communication.  Thank you.

--
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