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 / satish
Yes We can move that.But I have another question.if we
move 'abcd' to comp variable then how it will get stored??I
know if we move theb it wont abend but dbt know how it will
be stored:-(
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can you get the ksds file records into your cobol program?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Explain the configuration section of a cobol program with examples of syntax.
How to know whether the module is dynamical or statistical?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Write a program that uses move corresponding.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
When is inspect verb is used in cobol?
What is the usage of comp fields in cobol?
What are different data types in cobol?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
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 happens if parmparameter passes zero bytes to the program