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 add one input & one Out file in existing cobol
program.
how approach tell me step by step.


Answer Posted / aniket potwekar

Add File-control para in environment division with select
clause for input and output file.Declare there organization
and access mode.
then in data division add file descriptor entry for each
file.These must be in file section.
Then use these files in procedure division.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the sections present in data division.

1251


What is rmode(24)

1151


Are you comfortable in cobol or jcl?

1052


What type of SDLC u followed? Why?

2000


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9109


IF I mention stop run in CICS what happens?

2381


i want a program using by if, evaluate , string, unstring, perform, occurs?

4727


What is amode(31)

1178


what are decleratives in cobol?

2265


Difference between array and sub-script ?

1669


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2474


example for sub strings ? and refernce modifications whit output pls

2319


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1353


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1259


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2437