Can we move X(9) to 9(9). If yes what are the ways for
doing this?

Answer Posted / nidhi

The NUMVAL function returns the numeric value represented by the
alphanumeric character string specified in an argument. The function
strips away any leading or trailing blanks in the string, producing a
numeric value that can be used in an arithmetic expression.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes S(8) comp field occupy and its maximum value?

1630


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1844


what is the difference between COBOL2 AND COBOL390?

2453


how do you reference the printer file formats from cobol programs

661


How do you define a variable of comp-1 and comp-2?

701






What is the utilization of copybook in cobol? Could we utilize a similar copybook?

716


how to refer the data field?

1808


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6827


How many sections are there in data division in COBOL?

678


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.

2057


Describe the cobol database components?

680


What is the difference between structured cobol programming and object alternativelyiented cobol?

753


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


how do you reference the ksds vsam file formats from cobol programs

664


explain sorting techniques in cobol program?

686