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 / santhosh
That answer was correct. Except that the byte position for the first COMP field will be 2. Not 4. It was a great answer.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is acct parameter mandatory?
How do you submit a job for execution?
What is Cataloged Procedures?
Explain about ISPF/TSO Commands
which utility is used to run a cobol-db2 program?
How can unused space allocation be returned to the system when a dataset is closed?
what is “Cond= even” and “Cond=only”?
What are some jcl statements that are not allowed in procedures?
Brief description of inline procedure of jcl.
Are there any set of rules for the names of the steps used in a job? What are they?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Define concatenating?
which utility is used a dummy utility?
In job processing, what happens in conversion stage?
what JCL Procedures?