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
How do you access an uncatalogued dataset in a jcl?
how JCL works?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What do you understand by the term notcat 2 – gs?
Is there any command to check wether the ps file is in sorted order?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
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?
which utility is used a dummy utility?
when does a dataset go uncataloged?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain the function of //cntl statement?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Is it possible to define dd statements as you want?
How does jcl act on a cobol code?
what is use of disp parameter in dd statement?