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 77 level used for ?

12 Answers   IBM, iGate,


can u give result for the fallowing example... 05 a pic 9(2) 05 b redifines a pic x(2). move 'xy' to b. display a,b.

10 Answers   IBM,


hi is there any means of deletin a record from a ps usin cobol not using jcl?eg if i am reading a record and if some condition is matched tat particular record must be deletd fom the ps

5 Answers   iNautix,


What are all the divisions of a COBOL program?

0 Answers  


What is amode(31)

0 Answers  


Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,


What rules are followed by the search verb.

0 Answers  


how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


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

0 Answers   IBM,


What is the Purpose of POINTER Phrase in STRING command

3 Answers  


which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast

1 Answers  


DATAONLY, MAPONLY functionality?

1 Answers   IBM,


Categories