Suppose I have a file with three fields with data in the
following format
1. empid - S9(4) COMP
2. empname - X(20)
3. empsal - S9(5)V(2) COMP-3
If I view this file, it will not be in a readable format.
How to display the empid and empsal fields in a readable
format without using COBOL program? What kind of SORT card
will have to be coded?
Answer Posted / santhosh
That answer was correct. Except that the byte position for the first COMP field will be 2. Not 4. It was a great answer.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
How can return codes be tested before execution of a job step?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
what is the difference between JES3 and JES2?
What are the difference between jcl and jes?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is the function of the dd dcb keyword?
what happens in execution stage in job processing?
when does a dataset go uncataloged?
What is catelog procedure and how many catelog procedure to use in one job?
Explain how can a stopped job be started again?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What is the function of the steplib dd statement?
List the different jcl statements that are not permitted in the procedures?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You