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

where will u code file status ?

Answer Posted / rahul

ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT file-name ASSIGN TO dd-name.
FILE STATUS IS ws-file-status1.

ws-file-status1 need to define in WORKING STORAGE SECTION
with
PIC X(02)- For QSAM files
PIC X(03) for VSAM files.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

5377


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2557


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1209


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1441


what are decleratives in cobol?

2266


Explain about different table spaces.

1114


What do you understand by psb and acb?

1129


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

2381


What are the pertinent COBOL commands?

3182


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


What is the local-storage section?

1151


What is the compute verb? How is it used?

1150


How can you get the ksds file records into your cobol program?

1100


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

2259


what happens if parmparameter passes zero bytes to the program

2140