How to read the last 100 records from a COBOL file. The file
contains N number of records.
Answer Posted / m.rajasekaran
Hi Mobi and Remya,
logic is correct
But in PARA2 u have coded that COMPUTE C = C + 1, How it
will work?
You should have moved B to C after calculating the value
of B in PARA1.Then only this code will work.
Let me know if any mistake in my answer.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
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 happens when we move a comp-3 field to an edited (say z (9). Zz-)?
explain sorting techniques in cobol program?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Explain about different table spaces.
what happens if parmparameter passes zero bytes to the program
how to convert the recors form vsam file to db2 table tru file aid
) what is the difference between AID and HANDLE AID?
Give some examples of command terminators?
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.
Describe the cobol database components?
how do you define single dimensional array and multidimensional array in your cobol?
What are the different types of condition in cobol and write their forms.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Write a program that uses move corresponding.