wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?

Answer Posted / kaarthik

Just to add to the already given answers,

Evaluate is mainly used to eliminate the use of Nested-if's
this is introduced as part of VS-COBOL 2 .

As for REC-FM,
While defining the file in COBOL,

Give RECORDING MODE IS F

In JCL, Give DCB=(RECFM = FB,LRECL=XX,BLKSIZE=xxx)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write some characteristics of cobol as means of business language.

619


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


What are the pertinent COBOL commands?

2626


What the difference is between continue and next sentence?

662






Explain how you can characterize tables in cobol?

638


Mention the guidelines to write a structured cobol program?

620


What is the difference between perform … with test after and perform … with test before?

883


For rewrite, why is it mandatory that file needs to be opened?

623


What is the usage of comp fields in cobol?

660


Name the sections present in data division.

701


how do you reference the rrds file formats from cobol programs

800


What is amode(24)?

684


How many bytes S(8) comp field occupy and its maximum value?

1632


What is the difference between external and global variables in COBOL?

813