consider the following PROCEDURE DIVISION entry
OPEN EXTEND IN-FILE
identify the correct statement
a.organization of IN-FILE is sequential and records can
be added in the
beginning
b.organization of IN-FILE is sequential and records can
be added in the
end
c.organization of IN-FILE is indexed and records can be
added in the
beginning
d.organization of IN-FILE is indexed and records can be
added in the end

Answer Posted / shiva

when ever we access sequential files in extend mode...
it will append the new record at the end of last record
and so on.....


so option b is correct

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5063


what is search and searchall?what is the diffrence between them?give an best example?

5558


What is the use of intialize verb?

750


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


How arrays can be defined in COBOL?

663






What is the usage of comp fields in cobol?

658


Which Search verb is equivalent to PERFORM…VARYING?

685


Explain how to differentiate call by context by comparing it to other calls?

689


Why did you choose to work with ibm mainframe cobol programming?

631


Are you comfortable in cobol or jcl?

643


What is amode(24)?

684


What is rmode(24)

678


What is a SSRANGE and NOSSRANGE?

820


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058


how do you reference the esds vsam file formats from cobol programs

634