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 / praveen
Arati was correct. if you move x(6) varibale to x(3) there
will not be any blank spaces.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is report-item in COBOL?
What is redefines clause in COBOL?
What are the different rules for performing sort operation?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Are you comfortable in cobol or jcl?
how to move the records from file to array table. give with code example
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
What is the difference between PIC 9.99 and 9v99 in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How you can read the file from bottom?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are various search techniques in cobol? Explain.