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
 

 

about dataset allocation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: about dataset allocation
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    Post subject: hi
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: 2360
Location: Israel

PostPosted: Tue Feb 21, 2006 3:01 pm    Post subject:
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    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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


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