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
 
Wanna add a record at end of file in Sequential Access

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL
Author Message
priyanga

New User


Joined: 26 Aug 2004
Posts: 5

PostPosted: Thu Aug 26, 2004 3:32 pm    Post subject: Wanna add a record at end of file in Sequential Access
Reply with quote

Hi

Doubt in Index file.

In an index file. if i access it in seqential, i wanna add a record at end of file. how? it is possible?, which mode could i open that file?
Back to top
View user's profile Send private message
References
sandip_datta

EXPERT


Joined: 02 Dec 2003
Posts: 152
Location: Tokyo, Japan

PostPosted: Fri Aug 27, 2004 6:40 am    Post subject:
Reply with quote

Priyana,

You have also appeared in Hexaware !!!
Please search before posting.
http://www.ibmmainframes.com/expertforum/viewtopic.php?p=2837&highlight=#2837

You do not have to do anything special. you have to populate the key properly. And you have to open the file in I-O or in output mode.

Regards,
Sandip.
Back to top
View user's profile Send private message
badri

New User


Joined: 03 Sep 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 1:13 pm    Post subject:
Reply with quote

with indexed organization and sequential access we can add records only at the bottom of the file but based on the record key.
we can add using i-o mode or extend mode. we cannot use output mode.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe COBOL All times are GMT + 6 Hours
Page 1 of 1