Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are
the ways for doing this?

Answer Posted / jawaad

yes you can do both , but wait....

1) 9(9) to x(9) will be fine

2) x(9) to 9(9) may have problem in some cases:-

a) Suppose :x(9) has value "5"
when you move to 9(9) it will be
"5 " ,Yes 9(9) will have spaces
instead of
"000000005"
b)you will get soc7 when you perform arithemetic on x(9)
above

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

1898


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1590


how to move the records from file to array table. give with code example

2221


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?

5379


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

678






What are the different data types in cobol?

799


) How do u handle errors in BMS macro

1512


What are literals?

632


What is the usage of comp fields in cobol?

660


) what is the difference between AID and HANDLE AID?

1637


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


What are all the divisions of a COBOL program?

665


How many bytes S(8) comp field occupy and its maximum value?

1634


A table has two indexes defined. Which one will be used by the SEARCH?

759


Explain the configuration section of a cobol program with examples of syntax.

661