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
 
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

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