IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error(REQUEST FAILED) while copying a file


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jul 11, 2008 8:43 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 11, 2008 9:44 pm
Reply with quote

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
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Fri Jul 11, 2008 10:26 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 11, 2008 10:47 pm
Reply with quote

Quote:
randomly gave LRECL as 800.


why do You complain ??
the random value was Your choice icon_evil.gif 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
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jul 11, 2008 11:16 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 11, 2008 11:24 pm
Reply with quote

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
View user's profile Send private message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Sat Jul 12, 2008 12:15 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top