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 / chuvabe
no. cannot. because b is numeric. alpanumeric cannot move
to numeric field.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
how to move the records from file to array table. give with code example
how do you reference the variable unblock file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How do we get current date from system with century in COBOL?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Have you used comp and comp-3 in your project? And how?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are the different rules to perform a Search?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the difference between external and global variables in COBOL?