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
Why include statement is used in a jcl?
What are the difference between jcl and jes?
Explain dd statement in jcl?
How is a type of file defined in the jcl that executes the cobol program?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
what is use of dcb parameter in dd statement?
what is use of dsn parameter in dd statement?
What are s0c1, s0c4, s0c5, s0c7 and socb?
what are the types of abends that occur on job failure? And explain the possible causes of these
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Define concatenating?
What is the motivation behind coding class parameter in job statement?
Is condition checking possible in jcl? If yes, how?
Explain the function of //jcllib statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?