Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
To Append Records in natural Workfiles

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
avinash.kulkarni

New User


Joined: 18 Feb 2008
Posts: 6
Location: Pune

PostPosted: Wed Jun 25, 2008 4:12 pm    Post subject: To Append Records in natural Workfiles
Reply with quote

Hi

I could create workfiles using Natural. But I 'm not able to Append to the
existing workfile. With the write statement a new file is created every time.

Is there any method or Keyword which can Append Records to the existing workfile. icon_question.gif

Thanks and Regards
Avinash
Back to top
View user's profile Send private message
References
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1930
Location: Israel

PostPosted: Wed Jun 25, 2008 4:31 pm    Post subject:
Reply with quote

It has nothing to do with Natural statements, it depends on the disposition you specify when you allocate the file in the system. Try to use MOD instead of SHR.

O.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1