Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Reg. issue in ICETOOL step with DSN backref
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1001
Location: At my desk

PostPosted: Fri May 02, 2008 1:29 am    Post subject:
Reply with quote

Frank Yaeger wrote:
Hmmm ... I read through the doc again and I don't see where this is restricted to referback situations. The restriction seems to be for any DD statement that requests the same data set as a previous DD statement for output.
Excellent point, after rereading, I have to agree, unless there is something that the (fill in the name of the correct process here) does differently during the referback as opposed to having full and direct access to the cataloged information....
Quote:
I'm guessing that the same problem can occur with catalogued data sets when referback is NOT used such as in the example you show. Anybody know for sure?
Maybe we can get 'raviraman sr' to test it?
Back to top
View user's profile Send private message
References
PostPosted: Fri May 02, 2008 1:29 am    Post subject: Re: Reply with quote

raviraman sr

New User


Joined: 29 Apr 2008
Posts: 5
Location: U.S.

PostPosted: Fri May 02, 2008 2:47 am    Post subject: Re: Reg. issue in ICETOOL step with DSN backref - Reply
Reply with quote

Hi,

Do you think the below would work if the files (TEMPOUT*) being created is in the same step? I was of the opinion that the below would not work and this is the reason I thought Splice Operator Examples had it as a back reference.

Am I wrongly interpreting this?

Code:

//MRGINPUT DD DISP=(SHR),                     
//            DSN=&USER..TEMPOUT1
//*                                           
//         DD DISP=(SHR),                     
//            DSN=&USER..TEMPOUT2
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 1001
Location: At my desk

PostPosted: Fri May 02, 2008 3:11 am    Post subject:
Reply with quote

The question came up as to whether or not it was the referback, i.e.,
//MRGINPUT DD DISP=(SHR),
// DSN=*.SORTOF01
or just any reference to a dataset created in the same step. i.e.,
//MRGINPUT DD DISP=(SHR),
// DSN=&USER..TEMPOUT1
that is causing the loss of data....

Based upon your original JCL, see if you have a setup that (regularly) fails with the referback (*.SORTOF01), then try to see if it fails (regularly) with the actual DSN (&USER..TEMPOUT1).

And, unless it is needed, drop the 'VOL=REF=*.SORTOF01' in both cases, (unless somebody knows why it should be needed?)......

Or try it in both, who knows, that may be the culprit....grin.....


Dang, I love debugging...... icon_lol.gif
Back to top
View user's profile Send private message
raviraman sr

New User


Joined: 29 Apr 2008
Posts: 5
Location: U.S.

PostPosted: Fri May 02, 2008 7:44 am    Post subject: Reg. Dataset Refer back
Reply with quote

Hi ,

I have attempted the below earlier and it will give JCL interpreter error for dataset not found. I originally had only temp datasets (&&TEMP**) for the "throwaway" files but due to my site restrictions I catalogued with 2 days retention.

When referred with DISP=SHR as below

Code:

//MRGINPUT DD DISP=(SHR),
// DSN=&USER..TEMPOUT1


The JCL Interpreter tries to check whether the file is in catalogue. Since it is not found/created in the prev. step, it throws up interpreter error.

Only way I think this can be overcome is by specifying DISP=MOD which we will have to check with our assurance team.

Thanks again for your help.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6033
Location: 221 B Baker St

PostPosted: Fri May 02, 2008 8:03 am    Post subject:
Reply with quote

Hello Ravi,

Thank you for posting what you learned - Good luck icon_smile.gif

Someone will be here if there are new "opportunities icon_wink.gif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 HoursGoto page Previous  1, 2
Page 2 of 2