Need Advice How to Increase FD layout to Existing Program



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Re: Need Advice How to Increase FD layout to Existing Progra

Postby dick scherrer » Tue Dec 11, 2012 12:54 am

Hello,

I understand your point in why do I have to initialize the field when there is no field to initialize as the file hasn't been created
Ah, i believe there is still considerable misunderstanding. . .

The point of not trying to initialize the input data area is that when a read is done, the data content from the record will be placed in that data area and any "initial values" will be overwritten and no longer available.

Opening a new sequential file as output (and writing some record(s) to it) will "create" that file - in coordination with what has been specified in the JCL.
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: Re: Need Advice How to Increase FD layout to Existing Progra

 

Re: Need Advice How to Increase FD layout to Existing Progra

Postby crazycobol » Tue Dec 11, 2012 1:22 am

thank you...i'll give it a try :)
crazycobol
 
Posts: 35
Joined: Fri Dec 04, 2009 3:33 am
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post