Study the DATA DIVISION entries and the three PROCEDURE
DIVISION entries
given below:
01 END-OF-FILE-SWITCH PIC XXX.
88 NO-MORE-RECS VALUE "YES".
88 MORE-RECS VALUE "NO".
(i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS.
(ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA.
(iii) IF NO-MORE-RECS GO TO LAST-PARA.
Which are wrong?
(a) (i) and (ii)
(b) (ii) and (iii)
(c) (i) and (iii)
(d) all

Answer Posted / nilesh

we cant put a check on 88 level record, as it reopresents a
value and not a variable. So option II is ceratainly not
right. I the answer should be a.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


Name some of the examples of COBOl 11?

2674


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1796


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

651


What do you understand by psb and acb?

659






How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

690


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2050


What is the usage of comp fields in cobol?

649


How arrays can be defined in COBOL?

658


What is the compute verb? How is it used?

651


What is the difference between goback, stop run and exit program in cobol?

914


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


What is the use of intialize verb?

738


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

1896


What is amode(31)

714