.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
Name the sections present in data division.
What is rmode(24)
Are you comfortable in cobol or jcl?
What type of SDLC u followed? Why?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
IF I mention stop run in CICS what happens?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is amode(31)
what are decleratives in cobol?
Difference between array and sub-script ?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
example for sub strings ? and refernce modifications whit output pls
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
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.