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
Where & How Do You Code Identifier In Jcl?
What is the function of dd name parameter with a 2 part structure; audit.report?
Explain the function of job statement in jcl?
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?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
what is the purpose of coding notify parameter in job statement?
What is condition checking in jcl? Is this possible?
what is DSN parameter and DISP parameter is used for?
What is notcat 2 - gs?
How dummy is used in jcl?
What is the purpose of disp parameter?
List the different jcl statements that are not permitted in the procedures?
how to compare two datasets without using superce because output is limited to 133 bytes
What is NOTCAT ?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?