What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?
Answer Posted / jayaprabhu
spaces to umeric field will give data exp error soc7
bocz we cant move the spaces to numeric field
Zeroes to alphabetic we cant bcoz zeroes is numeric we cant
move into the alphabetic if we move it will give soc7
But using redefines we can moves num-alpa, alpa -num
these kind we use for copybook where in if you have one
field need to change for num/alpa.instead going for new
copybook .
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Difference between cobol and cobol-ii?
) How do u handle errors in BMS macro
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Are you comfortable in cobol or jcl?
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is perform what is varying?
Differentiate between structured cobol programming and object-oriented cobol programming.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how to refer the data field?
What is an in line perform? When would you use it? Anything else you wish to say about it.
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.
How do define dynamic array in cobol.