01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b
wht will be the value ? and
01 a pic x(6) value is abc
01 b pic x(3)
move a to b
wht will be the value ?
Answer Posted / chowdary
after executing this program output will be
b value is 000123
and
b value is abc
there is no blanks after abc in b, because we have taken
its length as 3 in pic clause.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
When is inspect verb is used in cobol?
How do you differentiate between cobol and cobol-ii?
Discuss about changing dataset name in proc.
What are the different types of condition in cobol and write their forms.
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
Why occurs cannot be used in 01 level in COBOL?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
) How do u handle errors in BMS macro
how do you reference the variable block file formats from cobol programs
What is the difference between perform … with test after and perform … with test before?
What do you understand by psb and acb?
example for sub strings ? and refernce modifications whit output pls
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Define cobol?