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

What is SQL Code -904 and -903 in DB2 And how to handle it?

1 Answers   IBM,


If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?

8 Answers   UST,


how can u find out just by seeing wheater it is main program or sub program ? any two ways to identify reply soon ?

2 Answers  


what is Reentrancy and Quasi-reentrancy?

1 Answers  


File status must be checked both while opening and reading the file or only while reading the file?

2 Answers  






Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


what is linkcard in cobol?

1 Answers   TCS,


What are the different rules of SORT operation?

0 Answers  


How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


I have 100 records in a file.. i want to sort the records from 5 to 5o... give the syntax...

2 Answers   CTS, DSRC,


i want to learn mainframes. i completed MCA ,whats the future of mainframes

5 Answers  


Categories