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...


How to code fscode 10 in cobol program? Where yoy code in your
pgm?give ans for the question.

Answers were Sorted based on User's Feedback



How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question...

Answer / adarsh

File status 10 specifies that there are no records to read
in a file.
We can use anywhere in the program after opening the file
and before closing the file.

Is This Answer Correct ?    8 Yes 0 No

How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question...

Answer / manikandesvaran

After sucessfull read just check the file status code
associated.
For ex.
PERFORM UNTIL WS-FILE-REC-EOF
READ INP-DATA INTO WS-FLE-INP-REC
AT END
SET WS-FILE-REC-EOF TO TRUE
END-READ

IF WS-INP-FLE-STATUS = ZEROS OR 10
CONTINUE
ELSE
DISPLAY '------------ERROR-----------------------'
END-IF.

Hope this will help .

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More COBOL Interview Questions

What is the reference modification.

2 Answers  


what is meaning by design document? who can repared for this?

5 Answers   TCS,


SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.

2 Answers   Wipro,


can we use the two 01 level in file discription ?

6 Answers  


What is perform what is varying?

0 Answers  


Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


.How to add one input & one Out file in existing cobol program. how approach tell me step by step.

2 Answers   Syntel,


What are 77 levels used for?

0 Answers  


diffrence between renames and redifnes with examples

3 Answers   IBM,


why do u need inspect verb?

3 Answers   Patni,


what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


Categories