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

What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

664


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

641


What is a report item?

728


What is the difference between binary search and sequential search?

628


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

639






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

5519


how can i see junk values in dclgen or in hostvariable of comp ?

2532


What the difference is between continue and next sentence?

647


Discuss about changing dataset name in proc.

751


State the various causes of s0c1, s0c5 and s0c7.

652


What is the difference between next sentence and continue in cobol programing language?

695


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1940


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

695


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

730


Can we change the password using ALTER? anyone tried and changed?

1533