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 |
Are you comfortable in cobol or jcl?
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
i have a requrement in A as viswa!@#$%&^**reddy i need to move viswareddy in B without junk values pls say how to do ths reply fast
Explain Restart Logic in Cobol?
How you can delete a record from a ps file in cobol?
db2 variable decimal(15,2) what is the equalent size of cobol variable
If A>B next sentence end-if display 1 display 2. display 3. If a>b, it will display only 3.(the next sentence, ie., after fullstop/period) ____________________________________ if a>b continue end-if display 1 display 2. display 3. If a>b, it Will display 1 2 3 (the next statement) ____________________________________ if a>b continue display 1 end-if display 2 display 3. display 4. If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
What are 77 levels used for?
How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?
What is the maximum length of a field you can define using COMP-3 in COBOL?
what are the steps to sort in a cobol program?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?