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
 
JES2 : Datasets are pre-step allocated

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

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Thu Jul 10, 2008 8:41 pm    Post subject: JES2 : Datasets are pre-step allocated
Reply with quote

I have a problem in JES2 saying datasets are pre-step allocated.

In general, my job has 5 steps. The 4th step is using one program which creates an output file using 2 input files. Now my question is the output dataset will be created after the execution of the 4th step or before the execution of the 4th step.

If the output file is created after the execution of the 4th step then what is this JES2 is saying?
Back to top
View user's profile Send private message

Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Thu Jul 10, 2008 9:04 pm    Post subject:
Reply with quote

Before the step executes:
1. Units allocated for tape and disk files
2. DASD datasets created (space allocated, etc.)

At step end:
1. Final disposition of files (delete, catalog, etc)
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Thu Jul 10, 2008 9:42 pm    Post subject: Reply to: JES2 : Datasets are pre-step allocated
Reply with quote

Quote:
I have a problem in JES2 saying datasets are pre-step allocated.

please post the full message ( with the message identifier )
You say You have a problem, but You do not describe it icon_sad.gif
Back to top
View user's profile Send private message
Select-mf

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Thu Jul 10, 2008 11:05 pm    Post subject: Reply to: JES2 : Datasets are pre-step allocated
Reply with quote

Hi,

So you are saying the dataset is allocated before the execution of the step but it will be catalouged only after the execution of the same step, right?

Is the dataset allocated and dataset catalouged have the same meaning? I am a bit confused between dataset being allocated and catalouged, Can any one explain what is difference between the two?

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

Global Moderator


Joined: 06 Jun 2008
Posts: 8280
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 10, 2008 11:14 pm    Post subject:
Reply with quote

A dataset is allocated (on disk, at least) when space is defined for the dataset on a particular pack. Cataloging the dataset means an entry is placed in a system catalog allowing the dataset to be referenced without needing the volume serial and unit information (i.e., by just the DSNAME).
Back to top
View user's profile Send private message
Select-mf

New User


Joined: 11 May 2007
Posts: 42
Location: bangalore

PostPosted: Thu Jul 10, 2008 11:40 pm    Post subject: Reply to: JES2 : Datasets are pre-step allocated
Reply with quote

Thanks for the information provided.
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: Thu Jul 10, 2008 11:47 pm    Post subject:
Reply with quote

Hello,

Quote:
I have a problem in JES2 saying datasets are pre-step allocated.

Quote:
I am a bit confused between dataset being allocated and catalouged
I am not clear on how these are related icon_confused.gif (unless the problem is just a jcl "error" that does not have a syntax problem. . .) Posting the jcl may help.

So far, we have also not seen the actual message you are receiving.
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
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Xpediter: STEP OVER cobol section Auryn Compuware & Other Tools 0 Thu Feb 22, 2018 9:30 pm
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts JES2 EXIT 6 QUESTION Randy Horowitz All Other Mainframe Topics 30 Tue Feb 06, 2018 5:47 pm

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