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


Please Help Members By Posting Answers For Below Questions

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.

5053


what is difference between cobol and cobol/400

21556


how do you reference the printer file formats from cobol programs

655


What is comp-1 and comp-2?

758


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1019






What is the utilization of copybook in cobol?

650


Differentiate between structured cobol programming and object-oriented cobol programming.

663


How do you reference the fixed block file formats from cobol programs

701


What are the different data types in cobol?

786


What type of SDLC u followed? Why?

1516


how do you reference the variable block file formats from cobol programs

680


Whats the difference between search & search ALL?

5260


) How do u handle errors in BMS macro

1505


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17028


State the various causes of s0c1, s0c5 and s0c7.

658