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 / shiva

no we cannot move alphabet in to a numeric field....

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

646


What are the various section in data division and briefly explain them.

698


Explain what you understand by passing by value.

700


What are the different types of condition in cobol and write their forms.

658


i need a small 3d program using inline and outline.

1637






How do we get current date from system with century in COBOL?

805


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

700


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.

5064


Which Search verb is equivalent to PERFORM…VARYING?

685


Can we redefine the field of x(200) to less than 200?

818


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058


what is search and searchall?what is the diffrence between them?give an best example?

5559


What are different data types in cobol?

689


What is the local-storage section?

681


How do define dynamic array in cobol.

671