Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 -> COBOL Programming
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    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

sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us