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
What the difference is between continue and next sentence?
How do u write test cases?
What is a SSRANGE and NOSSRANGE?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Can you please let me know the centre name of INS certification in Kolkata.
What is link edit in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How many bytes S(8) comp field occupy and its maximum value?
What kind of error is trapped by on size error option?
What is the difference between external and global variables in COBOL?