can we print comp 3 stmts how ?
Answers were Sorted based on User's Feedback
Answer / kaarthik
1. Redefine the comp-3 with a numeric field and then move
the numeric value to an Alphanumeric value and then Display
it.
Regards,
Kaarthik
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / amarnadh reddy
Another way is,
Use File-Aid, we can possible to see comp 3 stmts.
Ex: open File-Aid, 1st option means browse option. give
data set name and copy book layout and open F mode.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / saravana
Move it to other x() or 9() variable and display that variable
| Is This Answer Correct ? | 0 Yes | 0 No |
What do you understand by psb and acb?
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS
I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?
What is XDC ?
how can we find total no of records in a file ....is there any utility......?
If I want to increase the Limit in GDG. What should I do?
How is sign stored in a COMP field ?
What are the pertinent COBOL commands?
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?