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 |
Can we use redefine clause in occurs clause?
In a COBOL II PERFORM statement, when is the conditional tested, before or after the perform execution?
What is 88 level used for ?
Consider the following code: 77 A PIC 99V99 VALUE 55.35 77 B PIC 99V999 VALUE 32.754 ADD B TO A ON SIZE ERROR DISPLAY "ERROR!!!" What will be the result ? (a) A=88.10, B=32.754 (b) A=87.00 B=32.754 (c) A=87.10 B=32.754 (d) ERROR!!! will be DISPLAYed on the screen.
If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.
RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is an explicit scope terminator?
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
what is the use of outrecord?
Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.
plz,could any one tell me? what about EBCDIC in cobol?briefly?