Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Error(REQUEST FAILED) while copying a file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Error(REQUEST FAILED) while copying a file
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

Site Director


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

PostPosted: Fri Jul 11, 2008 9:44 pm    Post subject:
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    Post subject: Reply to: Error(REQUEST FAILED) while copying a file
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Jul 11, 2008 10:47 pm    Post subject: Reply to: Error(REQUEST FAILED) while copying a file
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    Post subject: Re: Error(REQUEST FAILED) while copying a file
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: 7993
Location: Bellevue, IA

PostPosted: Fri Jul 11, 2008 11:24 pm    Post subject:
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    Post subject: Reply to: Error(REQUEST FAILED) while copying a file
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us