| IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc... Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
meenakshi_forum
Joined: 27 May 2008
Posts: 70
Location: India
|
| Posted: Fri Jul 11, 2008 8:43 pm Post subject: Error(REQUEST FAILED) while copying a file |
|
|
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
Joined: 23 Nov 2006
Posts: 7519
Location: 221 B Baker St
|
| Posted: Fri Jul 11, 2008 9:44 pm Post subject: |
|
|
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
Joined: 27 May 2008
Posts: 70
Location: India
|
| Posted: Fri Jul 11, 2008 10:26 pm Post subject: Reply to: Error(REQUEST FAILED) while copying a file |
|
|
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
Joined: 14 Mar 2007
Posts: 2562
Location: italy
|
| Posted: Fri Jul 11, 2008 10:47 pm Post subject: Reply to: Error(REQUEST FAILED) while copying a file |
|
|
Quote: randomly gave LRECL as 800.
why do You complain ??
the random value was Your choice :evil: 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
Joined: 19 May 2007
Posts: 970
Location: Virginia, USA
|
| Posted: Fri Jul 11, 2008 11:16 pm Post subject: Re: Error(REQUEST FAILED) while copying a file |
|
|
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
Joined: 06 Jun 2008
Posts: 359
Location: Atlanta, GA
|
| Posted: Fri Jul 11, 2008 11:24 pm Post subject: |
|
|
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
Joined: 27 May 2008
Posts: 70
Location: India
|
| Posted: Sat Jul 12, 2008 12:15 am Post subject: Reply to: Error(REQUEST FAILED) while copying a file |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|