Can we move X(7) to S9(7) COMP?



Can we move X(7) to S9(7) COMP?..

Answer / shib

yes we can if value of x(7) contains numeric data like 1234567 or 0000000
We will not get any error.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH

2 Answers   Cap Gemini,


what is the difference between Plan & package?

1 Answers   IBM,


consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above

3 Answers   TCS,


is it possible to pass an SQL query inside a jcl which is inside a cobol program?

5 Answers   CTS,


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,






What does MAXCC 3 means? It is used in one my codes.

2 Answers   Wipro,


how do you reference the esds vsam file formats from cobol programs

0 Answers  


How to convert bunch of words in a line to relvant ASCII values?

2 Answers  


how to transfer the file from pc to mainframe??

3 Answers  


When is inspect verb is used in cobol?

0 Answers  


Name the divisions in a COBOL program ?

7 Answers  


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  


Categories