In an EVALUATE statement, can I give a complex condition on
a when clause?
Answers were Sorted based on User's Feedback
Answer / vampire
yes u can
ex
evaluate condition
when identifier=conditon imperative statements
when identifier=condition imperative statemnts
when other imperative statements
end-evaluate
Is This Answer Correct ? | 3 Yes | 0 No |
What is LENGTH in COBOL II?
What are the divisions in a cobol program? Which one is the mandatory division among them?
how to transfer the file from pc to mainframe??
If you were passing a table via linkage, which is preferable - a subscript or an index?
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.
1) can we display the index?
. How do we cast a variable in COBOL
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
what is the use of filler in cobol programing?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
sample code for read a 2nd record from last in flatfile how can do?