IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Wanna add a record at end of file in Sequential Access


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
priyanga

New User


Joined: 26 Aug 2004
Posts: 5

PostPosted: Thu Aug 26, 2004 3:32 pm
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
sandip_datta

Active User


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

PostPosted: Fri Aug 27, 2004 6:40 am
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
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Unable to interpret a hex value to De... COBOL Programming 7
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts SORT on detail record, then repeat he... DFSORT/ICETOOL 3
No new posts how to complete the end of a record w... DFSORT/ICETOOL 2
Search our Forums:

Back to Top