View previous topic :: View next topic
|
Author |
Message |
hemanthj642
New User
Joined: 14 Sep 2005 Posts: 21
|
|
|
|
Hi,
I was trying to replace a string by using FINDREP, It worked fine for my test file.
Below is the JCL I have used.
Code: |
//S01 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=MJI07.FTP1AQF.INPUT1.G1992.OUT,DISP=SHR
/*
//SORTOUT DD DSN=MJI07.FTP1AQF.INPUT1.G1992.OUT1,
// DISP=(NEW,CATLG,DELETE),
// DCB=*.SORTIN,
// SPACE=(CYL,(1,1),RLSE)
//SYSIN DD *
OPTION COPY
INREC FINDREP=(IN=X'1C',OUT=X'22')
/* |
Same jcl I have used but input file I have changed to TMU.FTP1AQF.CM.BTPDT.TEST.G0001V00. Now I got the below error.
ICE160A 0 COPY FUNCTION COULD NOT BE USED - REASON CODE IS 03
I have verified the docs and found the below reason for ICE160A reason code 3.
'An attempt to open a data set caused a system error'.
Could anyone please tell me how to resolve this issue?
Thanks.. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
You did not give anything to work on...
a dataset name and a message with a reason code
the only hint from the dataset name is that it belongs to a GDG
why not try to run using the relative generation format
TMU.FTP1AQF.CM.BTPDT.TEST(-xxx)
probably the best place/people to ask is/are Your storage support group
the should have the knowledge to investigate |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Do you have access to open the dataset??
Because I tried to recreate your scnario to get the same error code
I tried to copy a dataset which I dont have access to I got
Code: |
ICE160A 0 COPY FUNCTION COULD NOT BE USED - REASON CODE IS 03 |
Probably that could be the reason |
|
Back to top |
|
|
hemanthj642
New User
Joined: 14 Sep 2005 Posts: 21
|
|
|
|
Yes,thats the problem .. My id doesn't have access to the HLQ.
Thanks... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
but then You should have received also a message about a security violation.
why in heaven did You not post all the significant info! |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Security violoation should be checked at JESMSGLG of JOB output
Confirm if you see that?
You would have got some ICH408I messages
Quote: |
Joined: 14 Sep 2005 |
You should have learnt atleast this being in forum for 7 years |
|
Back to top |
|
|
|