Midhun Mohandas
New User
Joined: 03 Mar 2014 Posts: 24 Location: India
|
|
|
|
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. |
|