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


Please Help Members By Posting Answers For Below Questions

Why include statement is used in a jcl?

689


What are the difference between jcl and jes?

1048


Explain dd statement in jcl?

640


How is a type of file defined in the jcl that executes the cobol program?

709


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

795






what is use of dcb parameter in dd statement?

769


what is use of dsn parameter in dd statement?

666


What are s0c1, s0c4, s0c5, s0c7 and socb?

697


what are the types of abends that occur on job failure? And explain the possible causes of these

1114


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?

2217


Define concatenating?

663


What is the motivation behind coding class parameter in job statement?

681


Is condition checking possible in jcl? If yes, how?

735


Explain the function of //jcllib statement?

700


How to execute 2nd and 4th steps among 5 steps in jcl proc?

747