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

about dataset allocation


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kumaresh.M

New User


Joined: 17 Feb 2006
Posts: 64
Location: Bangalore

PostPosted: Mon Feb 20, 2006 5:37 pm
Reply with quote

Hi friends,

for creating datasets we can use IEBGENER,IEFBR14 Etc
(we are using somany utilities for creating a dataset through jcl)
i think that if we allocate a dataset through ISPF (3.2 option in ISPF primary menu), defaultly it will create a jcl to allocate a dataset.

my doubt is which utility it defaultly take?
then for example it will take IEFBR14 defaultly,
why the system ignore other utilities?
any other issues is there to select a utilities defaultly?
Back to top
View user's profile Send private message
small_world

New User


Joined: 22 Jul 2005
Posts: 24
Location: pune

PostPosted: Tue Feb 21, 2006 2:45 pm
Reply with quote

To allocate or delete a dataset, a program (any program) needs to be executed in a batch environment. But if no other function is needed IBM supplies this program that effectively does nothing.

Example JCL would be :-

//NULL EXEC PGM=IEFBR14
//ALLOCTE DD DSN=MY.NEW.FILE,UNIT=SYSDA,DISP=(NEW,CATLG),
// SPACE=(CYL,(1,1))
//DELOLD DD DSN=MY.OLD.FILE,DISP=(OLD,DELETE)

icon_wink.gif
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Feb 21, 2006 3:01 pm
Reply with quote

Utilties does not allocate datasets. The operating system (in forground) or JES (in background) allocate the dataset.

In your job, you instruct the utility to use the dataset, and you supply the disposition. According to the disposition, JES allocates the dataset using operating system services, no matter which program/utility you run.

ISPF options and services use the exact same operating system services to allocate datasets.

O.
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top