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 / rajini

We wont get data exception error (SOC7) , the program will
go fine , But the value in b will be junk.

Is This Answer Correct ?    20 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and 9v99 in COBOL?

732


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

778


how do you reference the variable unblock file formats from cobol programs

748


What do you understand by psb and acb?

661


What is inspect in cobol ?

801






can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1954


What are literals?

630


What are the pertinent COBOL commands?

2623


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

996


what is the difference between COBOL2 AND COBOL390?

2453


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 ?

1872


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2098


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2730


Mention the guidelines to write a structured cobol program?

620


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

666