if a file has 1000 recods how copy the records from 1 to 100
records using sort
Answer Posted / sharath
u can also use include cond statment to do this
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How many sections are there in data division in COBOL?
How do define dynamic array in cobol.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
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
Can a Search can be done on a table with or without Index?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
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.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain how you can characterize tables in cobol?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Which Search verb is equivalent to PERFORM…VARYING?