View previous topic :: View next topic
|
Author |
Message |
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
While copying a production file to make a local version of it, it is giving an error related to RACF, Reason code 8 and Reson code 0 is displayed.
DATA SET ASOIS.TEST.FINC.TRAN.LOCAL NOT ALLOCATED+
IGD308I DATA SET ALLOCATION REQUEST FAILED -
RACF FUNCTION: RACDEF FOR
DATA SET: ASOIS.TEST.FINC.TRAN.LOCAL WITH RETURN CODE 08 REASON CODE 00
***
Please suggest how can i make a local copy. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Someone (your manager?) must tell the security admin people to give you permission to use the dataset.
Or, someone with permission must make a copy for you. |
|
Back to top |
|
|
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
I prepared a copy JCL and got it run--
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=ASOIS.TEST.FINC.TRAN,DISP=SHR
//SYSUT2 DD DSN=ASOIS.TEST.FINC.TRAN.LOCAL ,
// DISP=(NEW,CATLG,CATLG),
// UNIT=SYSDA,
// SPACE=(CYL,(100,100),RLSE),
// DCB=(LRECL=800,RECFM=FB,DSORG=PS)
****************
I din't have the copy book for the file so i randomly gave LRECL as 800.
The new file is ready but there is difference in record count of both.
Old--Line 03386947 Col 001 080
New-- Line 03386965 Col 001 080
Something has gone wrong, please suggest what can be done? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
randomly gave LRECL as 800.
|
why do You complain ??
the random value was Your choice nobody forced it on You
the absence of a copybook does not mean that the lrecl info is not available
an option 3.2 on the input dataset ( if on dasd ) will give You the dcb details lrecl in this case
or just omit the dcb in the output dataset and iebgener will happily take it from the input |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
meenakshi_forum wrote: |
While copying a production file to make a local version of it, it is giving an error related to RACF, Reason code 8 and Reson code 0 is displayed.
DATA SET ASOIS.TEST.FINC.TRAN.LOCAL NOT ALLOCATED+
IGD308I DATA SET ALLOCATION REQUEST FAILED -
RACF FUNCTION: RACDEF FOR
DATA SET: ASOIS.TEST.FINC.TRAN.LOCAL WITH RETURN CODE 08 REASON CODE 00
***
Please suggest how can i make a local copy. |
If you had looked up the error message
Quote: |
IGD308I DATA SET ALLOCATION REQUEST FAILED -text
Explanation: text is one of the following:
DATA SET OWNER userid IS NOT AUTHORIZED TO CREATE DATA SET dsname WITH
{STORAGE CLASS scname|MANAGEMENT CLASS mcname}
RACF FUNCTION func DATA SET dsname WITH RETURN CODE rc REASON CODE
rsnc
|
you could have solved the problem by asking you manager what storage class or management class to use. Then you would be done copying the file. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
DATA SET ASOIS.TEST.FINC.TRAN.LOCAL NOT ALLOCATED+
IGD308I DATA SET ALLOCATION REQUEST FAILED -
RACF FUNCTION: RACDEF FOR
DATA SET: ASOIS.TEST.FINC.TRAN.LOCAL WITH RETURN CODE 08 REASON CODE 00 |
implies you don't have write access -- perhaps if you changed the name to something you do have access to create?
Code: |
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DSN=ASOIS.TEST.FINC.TRAN,DISP=SHR
//SYSUT2 DD DSN=ASOIS.TEST.FINC.TRAN.LOCAL ,
// DISP=(NEW,CATLG,CATLG),
// UNIT=SYSDA,
// SPACE=(CYL,(100,100),RLSE),
// DCB=*.SYSUT1 |
keeps you from having to know the LRECL and randomly assigning it. |
|
Back to top |
|
|
meenakshi_forum Warnings : 1 Active User
Joined: 27 May 2008 Posts: 121 Location: India
|
|
|
|
Thanks all.
enrico-sorichetti, sorry to make u angry...i am not complaining , i am just sharing myself with this forum..i'll take care in future.
Thanks. |
|
Back to top |
|
|
|