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
Can I send output of job to my remote device careerride123?
What is the purpose of dd dummy statement?
What do you understand by the terms: joblib and steplib?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the syntax of JCL statement?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
How does jcl act on code(if you take a cobol program)?
How does jcl specify the job to the operating system?
Mention the types of job control statements?
What is the purpose of dd?
What is one line to pass PARM from JCL to COBOL?
What are some jcl statements that are not allowed in procedures?
What does a disposition of (new,catlg,keep) for a dsn mean?
How to do automated restart when a job abend?
how you will the direct the data to spool using sysout option?