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
 

 

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: 10277
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: 8121
Location: East Dubuque, Illinois, 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
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 7 Thu Jun 29, 2017 1:41 pm
No new posts Release quantity that was allocated v... Auryn JCL & VSAM 5 Thu May 18, 2017 6:02 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm


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