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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the divisions of cobol program?

1155


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

1068


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

1065


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1169


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1188


Give some examples of command terminators?

1197


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5318


) what is the difference between AID and HANDLE AID?

2099


how do you reference the fixed unblock file formats from cobol programs

1176


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2415


What is length is cobol?

1061


explain sorting techniques in cobol program?

1147


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1046


What are different data types in cobol?

1231


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1109