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
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are various search techniques in cobol? Explain.
What are all the divisions of a COBOL program?
Why would you use find and get rather than to obtain?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Why did you choose to work with ibm mainframe cobol programming?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how can i see junk values in dclgen or in hostvariable of comp ?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Write a program to explain size error.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
example for sub strings ? and refernce modifications whit output pls
What is the difference between PIC 9.99 and PIC9v99?
how do you reference the fixed unblock file formats from cobol programs