write to the file with disp= shr.



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

write to the file with disp= shr.

Postby bodhi » Wed Aug 22, 2007 6:18 pm

Hi All,

Can anybody tell me, we can write to the file with the DISP=SHR.

Thanks
Bodhi
bodhi
 
Posts: 53
Joined: Mon Jul 30, 2007 5:01 pm
Has thanked: 0 time
Been thanked: 0 time

Re: write to the file with disp= shr.

 

Re: write to the file with disp= shr.

Postby MrSpock » Wed Aug 22, 2007 7:20 pm

Of course. You normally would.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: write to the file with disp= shr.

Postby rohit_pardikar » Sun Sep 02, 2007 1:40 pm

bodhi wrote:Hi All,

what would happen if i am using IEFBR14 utility for a non existing file with disp=mod and with volume parameter.

Thanks
Bodhi
rohit_pardikar
 
Posts: 1
Joined: Sun Sep 02, 2007 1:23 pm
Has thanked: 0 time
Been thanked: 0 time

Re: write to the file with disp= shr.

Postby dick scherrer » Mon Sep 03, 2007 9:32 am

Hello,

For this
what would happen if i am using IEFBR14 utility for a non existing file with disp=mod and with volume parameter.
what would happen would depend on the other disp parameters and how the step ended (either normally or an abend).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: write to the file with disp= shr.

Postby Sivaraj » Fri Oct 19, 2007 5:45 pm

[quote][/quote]
bodhi wrote:
Hi All,

what would happen if i am using IEFBR14 utility for a non existing file with disp=mod and with volume parameter.

Hi,
If you use DISP=(MOD,CATLG,) for a non existing file, then the file would be created.
Sivaraj
 
Posts: 3
Joined: Fri Oct 19, 2007 4:46 pm
Location: Chennai,India
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post