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 REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


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