Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
File not available after succesful execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Tue Jul 22, 2008 8:17 pm    Post subject: File not available after succesful execution
Reply with quote

The file which always used to be available after successful execution is not available now.

After successful execution, for the next run i used to do scan of test Jcl using 'JJ' option, now when i do it doesn't display "File already catalogued".


The code for it is ---

In Proc---

//STEP010 EXEC PGM=IEFBR14
//RESTART DD DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,SPACE=(TRK,(1)),
// VOL=REF=PROD.RSTART,
// DSN=&PROD1..AGH.PROTECT.RESTART.SNDD9097K
_________________


In Test JCL--


//STEP010.RESTART DD VOL=REF=

At the end of Proc--

//*********************************************************
//* DELETE THE RESTART CATALOG ENTRY
//*********************************************************
//*
//STEP110 EXEC PGM=IEFBR14,COND=(0,NE)
//DEL DD DISP=(MOD,DELETE,DELETE),
// DSN=&PROD1..AGH.PROTECT.RESTART.SNDD9097K
**************************** Bottom of Data ***************

When this job was executed the RC code for both the steps was 0.

Please help.


Thanks.
Back to top
View user's profile Send private message

karthikr44

Active User


Joined: 25 Aug 2007
Posts: 235
Location: Chennai

PostPosted: Tue Jul 22, 2008 8:52 pm    Post subject: Reply to: File not available after succesful execution
Reply with quote

Just check your JESYSMSG whether it is deleted or not..

Regards
R KARTHIK
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: Tue Jul 22, 2008 10:07 pm    Post subject:
Reply with quote

Hello,

What help is needed?

Is this the same queston you were working with yesterday? You should reply to your topic rather than start a new topic for the same discussion.

Your jcl will jcl error so we cannot be much help. The dsn used is invalid in both sets of jcl.
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: Tue Jul 22, 2008 11:01 pm    Post subject: Reply to: File not available after succesful execution
Reply with quote

Karthik,

It is retained in JESYSMSG.

Dick,

Yesterday's question was about same step but the purpose was different. I was trying to know the syntax.

Today it is about absence of file.

Could you please let me know what is wrong in DSN?

Would appreciate.

Thanks.
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: Tue Jul 22, 2008 11:56 pm    Post subject:
Reply with quote

Hello,

Quote:
Could you please let me know what is wrong in DSN?
Is there some reason you cannot simply run a jcl check on your system?

I do not understand how you have problems with whether a dataset exists when the jcl will not allow the job to run in the first place. . .

Did you post jcl other than what is really being used? As a hint/suggestion, you should never type jcl/control statements/code in your posts. It should be posted via copy/paste usng the "Code" tag.

Run your jcl and post back here the output from the job. If there are questions, someone will be able to clarify.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Wed Jul 23, 2008 7:06 am    Post subject:
Reply with quote

In STEP110, you are deleting the same dataset by giving DISP=(MOD,DELETE,DELETE) . Then it is not supposed to be available after successful excution of the job

Thanks,
Arun
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: Thu Jul 24, 2008 2:56 pm    Post subject:
Reply with quote

Thanks. But some time it is available for some time when we scan the job for the next run.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Jul 24, 2008 3:38 pm    Post subject:
Reply with quote

Hi,

then some time the file is not deleted ie STEP110 probably flushed and the file is still availbale.


Gerrt
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us