What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / varun v
1) Move Spaces to Numeric field:
Here program would give compilation error saying Spaces
to Numeric integer did not follow the "MOVE" statement
compatibility rules.
2) Move Zeroes to Alphabetic field:
Would work fine with Movement of Zeroes to the
Alphabetic field.
| Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
How to remove 2 duplicate records and copy only one using job control language?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How many sections are there in data division in COBOL?
How can you get the ksds file records into your cobol program?
What is the utilization of copybook in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
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?
What are the access modes of START statement?
What are the different types of condition in cobol and write their forms.
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
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What kind of error is trapped by on size error option?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)