How you can read the file from bottom?
Submitted by: AdministratorThe question is very general. Let us look into these possibilities:
1. QSAM (sequential) file: You can run it thru SORT utility adding SEQNUM and then sort then sort by SEQNUM in DESC order
2. VSAM: In CICS, you can read backward using READREV;
3. VSAM: I Batch, unload the VSAM file using SORT in DESC order by key value
Submitted by: Administrator
1. QSAM (sequential) file: You can run it thru SORT utility adding SEQNUM and then sort then sort by SEQNUM in DESC order
2. VSAM: In CICS, you can read backward using READREV;
3. VSAM: I Batch, unload the VSAM file using SORT in DESC order by key value
Submitted by: Administrator
Read Online Cobol Job Interview Questions And Answers
Top Cobol Questions
☺ | What divisions, sections and paragraphs are mandatory for a COBOL program? |
☺ | How is sign stored in Packed Decimal fields and Zoned Decimal fields? |
☺ | What the difference is between CONTINUE and NEXT SENTENCE ? |
☺ | Give some advantages of REDEFINES clause? |
☺ | How do you code COBOL to access a parameter that has been defined in JCL? And do you code the PARM parameter on the EXEC line in JCL? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |