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


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

920


How do u write test cases?

1865


What is a SSRANGE and NOSSRANGE?

1177


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1075


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

1033


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.

1219


What is the default value(s) for an initialize and what keyword allows for an override of the default?

994


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1794


Can you please let me know the centre name of INS certification in Kolkata.

1991


What is link edit in cobol?

977


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

2220


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.

2001


How many bytes S(8) comp field occupy and its maximum value?

1904


What kind of error is trapped by on size error option?

994


What is the difference between external and global variables in COBOL?

1094