Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


can we print comp 3 stmts how ?

Answers were Sorted based on User's Feedback



can we print comp 3 stmts how ?..

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 ?    5 Yes 1 No

can we print comp 3 stmts how ?..

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

can we print comp 3 stmts how ?..

Answer / saravana

Move it to other x() or 9() variable and display that variable

Is This Answer Correct ?    0 Yes 0 No

Post New Answer



More COBOL Interview Questions

What are differences between Static Call and Dynamic Call?

10 Answers   IBM, KBC, Keane India Ltd, Verizon,


how to transfer the file from pc to mainframe??

4 Answers  


When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.

1 Answers   CTS,


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

0 Answers  


I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.

7 Answers   Amdocs,






example for sub strings ? and refernce modifications whit output pls

0 Answers   College School Exams Tests, IBM,


How may divisions are there in JCL-COBOL?

5 Answers   IBM,


77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?

8 Answers   TCS,


Describe the difference between subscripting and indexing ?

2 Answers  


Give some advantages of REDEFINES clause?

2 Answers   Syntel,


what is level 66 means??

7 Answers  


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,






Categories