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
 
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: 8154
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 LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 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
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm

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