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 |
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
How to covert given string into ASCII value in COBOL/MF COBOL
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
What guidelines should be followed to write a structured Cobol program?
what are the control characters used in reports
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
what is sync clause?
can we use reference modification an arry.
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?
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?