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 |
without performing any operations on a file how can i know whether it contains data or not
i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?
What are the rules of the move verb?
What is the difference between comp and comp-3?
How is sign stored in a COMP field ?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between index and subscript?
Can the OCCURS clause be at the 01 level?
Write a program that uses move corresponding.
What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
What is the default value(s) for an initialize? What keyword will allow for an override of the default?