How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / venkat
in my view if it is a ksds cluster file use organization as
dynamic and accept the related value start reading the file
and write it..i think this will display the last hundred
records..
correct me..
venkat
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the local-storage section?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how do you reference the rrds file formats from cobol programs
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.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
what are decleratives in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between next sentence and continue in cobol programing language?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What are the different open modes available in cobol?
example for sub strings ? and refernce modifications whit output pls
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is inspect in cobol ?