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 / vikas p o

First thing, when write this code and compile will it
compile sucessfully. If it compiles sucessfuly then if run
JCL will it give SOC7 or not.

Did test it but got error during compliation something like
"MOVE DID NOT FOLLOW COMPATIBILITY RULES".

Ppl can add to this...

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

823


What are declaratives and what are their uses in cobol?

714


what is search and searchall?what is the diffrence between them?give an best example?

5558


What are literals?

630


What is the usage of comp fields in cobol?

658






How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

648


Mention the guidelines to write a structured cobol program?

620


Write some characteristics of cobol as means of business language.

619


How are the next sentence and continue different from each other?

766


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1906


Name some of the examples of COBOl 11?

2685


Discuss about changing dataset name in proc.

759


What do you understand by psb and acb?

661


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

2113


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2658