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: 7997
Location: Bellevue, IA

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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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