1.Can we define condition-name conditions in FD entry.
Answer Posted / 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 |
Post New Answer View All Answers
Define cobol?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are different data types in cobol?
Can you please let me know the centre name of INS certification in Kolkata.
A table has two indexes defined. Which one will be used by the SEARCH?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between PIC 9.99 and 9v99 in COBOL?
how to convert the recors form vsam file to db2 table tru file aid
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are the rules of the move verb?
) How do u handle errors in BMS macro?
What is a SSRANGE and NOSSRANGE?
Define static linking and dynamic linking.