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 is the difference between PIC 9.99 and 9v99?
Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.
What is Static and Dynamic linking ?
What is the difference between copy and include in cobol?
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
How to know whether the module is dynamical or statistical?
if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.
what are the working storage fields in BMS macro?
Name the sections present in data division.
what is record label is empty or standard in file description of data division?