Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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?

2625


HOw can I get the negative sign while deduct high value from low value

2297


What are the rules of the move verb?

1318


How do you reference the following file formats from cobol programs?

1195


What is Pic 9v99 Indicates in COBOL?

1335


what are decleratives in cobol?

2303


For rewrite, why is it mandatory that file needs to be opened?

1148


What is amode(31)

1213


How do you define a variable of comp-1 and comp-2?

1253


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1149


What are the different rules to perform a Search?

1137


What is the difference between comp and comp-3 usage?

1252


i need a small 3d program using inline and outline.

2250


What is the difference between comp and comp-3?

1222


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1268