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


Please Help Members By Posting Answers For Below Questions

What are the rules employed while naming the steps in a job?

900


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?

1019


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?

9371


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.

943


can any one plzzzzzz tell the jcl code for creating ps using idcams

11050


What parameter of the job statement is used to limit the cpu time consumed by the job?

1019


What is the syntax of JCL statement?

900


What are hierarchy levels in jcl?

1234


What are the parameter we cannot use in procedure?

819


What is catelog procedure and how many catelog procedure to use in one job?

8010


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2408


what is the JCL statement consists of?

891


How do you submit a job for execution?

827


How can an in-stream dataset be terminated?

1049


What is Cataloged Procedures?

889