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

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

846


HOw can I get the negative sign while deduct high value from low value

2003


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

2994


what is amode(24), amode(31), rmode(24) and rmode(any)?

890


What is comp-1 and comp-2?

936


What is redefines clause in COBOL?

1036


In which area will you utilize 88 level items in cobol?

887


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

851


What is report-item in COBOL?

894


Differentiate between structured cobol programming and object-oriented cobol programming.

836


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

879


A table has two indexes defined. Which one will be used by the SEARCH?

1014


Can you please let me know the centre name of INS certification in Kolkata.

1941


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

870


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2957