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
 

 

Allocating DDNAME for a dataset in OMVS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Midhun Mohandas

New User


Joined: 03 Mar 2014
Posts: 24
Location: India

PostPosted: Thu Jun 19, 2014 5:55 pm    Post subject: Allocating DDNAME for a dataset in OMVS
Reply with quote

Hai all,

Please clarify my doubt,

In our RUNJCL we can give like :

//INPUT DD DSN=MYNAME.INPUT.PS,DISP=SHR

So that in our cobol program if we code SELECT NEWFILE ASSIGN TO INPUT, it will use MYNAME.INPUT.PS for INPUT.

Now, if I give export TSOALLLOC=INPUT followed by alloc f(INPUT) dsn('MYNAME.INPUT.PS') shr reuse in OMVS and execute one file handling program having the code SELECT NEWFILE ASSIGN TO INPUT, will it works fine or will it throw error.
Or in other words will 'export TSOALLLOC=INPUT followed by alloc f(INPUT) dsn('MYNAME.INPUT.PS') shr reuse in OMVS' is equivalent to '//INPUT DD DSN=MYNAME.INPUT.PS,DISP=SHR' in JCL..??


If I am wrong, please give me the correct method to do this.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Thu Jun 19, 2014 7:07 pm    Post subject:
Reply with quote

Have you looked at the manual to find the alloc command in OMVS?
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 -> All Other Mainframe Topics 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 LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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