IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

JES2 : Datasets are pre-step allocated


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Jul 10, 2008 9:42 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 10, 2008 11:14 pm
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
Reply with quote

Thanks for the information provided.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 10, 2008 11:47 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts Allocated cylinders of a dataset DB2 12
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
Search our Forums:

Back to Top