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
 

 

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: 2181
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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