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 / mainframe user
why do you want to do this? you know it is not compatible.
there is no point in doing analysis for this stuff.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What kind of error is trapped by on size error option?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
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.
Write a program to explain size error.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Explain about different table spaces.
What is the difference between PIC 9.99 and PIC9v99?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How to print 10 to 1 if the input have only 10 digit number?
What type of SDLC u followed? Why?
What are 77 levels used for?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
Can we redefine the field of x(200) to less than 200?
What is the difference between external and global variables in COBOL?
What is Pic 9v99 Indicates in COBOL?