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
What is the significance of addrspc parameter in exec statement?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
Are there any set of rules for the names of the steps used in a job? What are they?
What is use of restart and how to use it?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What is the significance of addrspc parameter in the exec statement?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
what is the purpose of coding class parameter in job statement?
what happens in execution stage in job processing?
which utility is used to sort a file in jcl?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What is the function of the steplib dd statement?
I need exexution process for JCL programs
Is automatic restart possible in jcl?