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 are the rules employed while naming the steps in a job?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
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?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
can any one plzzzzzz tell the jcl code for creating ps using idcams
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is the syntax of JCL statement?
What are hierarchy levels in jcl?
What are the parameter we cannot use in procedure?
What is catelog procedure and how many catelog procedure to use in one job?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
what is the JCL statement consists of?
How do you submit a job for execution?
How can an in-stream dataset be terminated?
What is Cataloged Procedures?