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

There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.

1 Answers   Mind Tree,


copy 100 records without using ibm utilities

3 Answers  


Explain about level numbers?

3 Answers  


In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference

3 Answers   IBM,


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.

3 Answers   CTS,






A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X

3 Answers   TCS,


what is ASRA, AEY9?

2 Answers   IBM,


What is file status 92?

3 Answers  


What is difference between COBOL and VS COBOL II?.

1 Answers   Winsol Solutions,


how to transfer the file from pc to mainframe??

4 Answers  


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

0 Answers  


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

0 Answers  


Categories