01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.

Answer Posted / satish

Yes We can move that.But I have another question.if we
move 'abcd' to comp variable then how it will get stored??I
know if we move theb it wont abend but dbt know how it will
be stored:-(

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

855


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2103


What rules are followed by the search verb.

638


i want a program using by if, evaluate , string, unstring, perform, occurs?

4057


) How do u handle errors in BMS macro?

1427






Name some of the examples of COBOl 11?

2681


What is redefines clause in COBOL?

847


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

664


Difference between cobol and cobol-ii?

704


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5680


What is Pic 9v99 Indicates in COBOL?

726


Whats the difference between search & search ALL?

5264


Describe the cobol database components?

680


What is inspect in cobol ?

801