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 / zos13
One quick response :
To read Emp-sal (Comp-3 field), please use HEX ON.
I am not sure for emp-id, binary. Please try and let everyOne know here.
Thnx
Garry.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is use of dsn parameter in dd statement?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what is the purpose of coding class parameter in job statement?
What is the purpose of dd * statement in jcl?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain about LMQUERY�give a dialog information about a data set
Can I share my data with other jobs? How?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Explain how can a stopped job be started again?
when can a job time-out occur? How to overcome that?
How can return codes be tested before execution of a job step?
How do you overcome this limitation ?
What is the purpose of dd?