1.Can we define condition-name conditions in FD entry.

Answers were Sorted based on User's Feedback



1.Can we define condition-name conditions in FD entry...

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

1.Can we define condition-name conditions in FD entry...

Answer / kavya

We can define condition-name conditions in Fd entry.

Is This Answer Correct ?    6 Yes 1 No

1.Can we define condition-name conditions in FD entry...

Answer / mighty

NO

Is This Answer Correct ?    5 Yes 4 No

1.Can we define condition-name conditions in FD entry...

Answer / guest

Kavya is correct . I have doen it many times .

Is This Answer Correct ?    1 Yes 0 No

1.Can we define condition-name conditions in FD entry...

Answer / chakri

KAVYA is correct i have done.

Is This Answer Correct ?    1 Yes 0 No

1.Can we define condition-name conditions in FD entry...

Answer / kavya

But as i checked we can......just check it out n post the
answer......

Is This Answer Correct ?    0 Yes 0 No

1.Can we define condition-name conditions in FD entry...

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

1.Can we define condition-name conditions in FD entry...

Answer / pradeep

are you guys sure
give an example

Is This Answer Correct ?    0 Yes 0 No

1.Can we define condition-name conditions in FD entry...

Answer / ashok

yes guys.. we can write it... evne i have tried it. its
working....

Is This Answer Correct ?    0 Yes 0 No

1.Can we define condition-name conditions in FD entry...

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

Post New Answer

More COBOL Interview Questions

Have you used comp and comp-3 in your project? And how?

0 Answers   IBM,


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

0 Answers   TryTechnicals Pvt Ltd,


How can you display the SPOOL information ?

2 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  


9(2).99 how many bytes take? Why . consider as a byte?

2 Answers  






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

0 Answers  


How do we get current date from system with century?

2 Answers  


how to check whether the open command of a sequential file is successful? or not?

2 Answers   CSC, IBM,


given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1

5 Answers   Broadridge, TCS,


How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

0 Answers  


I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..

3 Answers   iGate,


Categories