1.Can we define condition-name conditions in FD entry.
Answers were Sorted based on User's Feedback
Answer / k.phani
yes we can define condition variables in fd entry,here is
the example
FD TRANS-FILE.
01 TRANS-REC.
O2 TRANS-CODE PIC X.
88 INSERTION VALUE IS 'I'.
88 DELETION VALUE IS 'D'.
88 MODIFICATION VALUE IS 'M'.
02 REST-OF-TRANS.
03 TRAN-NO PIC X(5).
03 TRAN-NAME PIC X(20).
..............
HERE IN PROCEDURE DIVISION WE CAN USE CONDITIONS NAMES
AFTER READING TRANS-FILE FOR DELETING, MODIFYING,INSERTING
THE RECORD IN MASTER-FILE.
I HOPE THIS CLEAR UR DOUBT
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / harish
according to me yes, we can define condition names in FD
entry..
pls let me know if u have any queries
HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ashok
yes guys.. we can write it... evne i have tried it. its
working....
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nag
Yes, we can used conditon names in FD section. here is
sample code of our project.
05 DIRECT-BILL-INDICATOR PICTURE X.
88 DIRECT-BILL-ONLY VALUE '1'.
88 DIRECT-OR-AGENCY-BILL VALUE '2'.
| Is This Answer Correct ? | 0 Yes | 0 No |
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
what is meant by binary search?
Explain how to differentiate call by context by comparing it to other calls?
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
what is the difference between external and global variables?
Have you used comp and comp-3 in your project? And how?
What is the difference between CALL BY VALUE and CALL BY CONTENT?
i want to learn mainframes. i completed MCA ,whats the future of mainframes
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
HOw can I get the negative sign while deduct high value from low value
What is amode(24)?