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 / sadaf rehan
abc will moved to a and 'd' will get teminating
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What are the different open modes available in cobol?
Name the divisions, which are available in a cobol program?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is rmode(any) ?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is comp-1 and comp-2?
In COBOL, what is the different between index and subscript?
What are the pertinent COBOL commands?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are various search techniques in cobol? Explain.