Can we move X(9) to 9(9). If yes what are the ways for
doing this?
Answers were Sorted based on User's Feedback
Answer / varun v
yes you can..use REDEFINES for the same purpose.
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Now you can move X(9) variable to WS-VARX.Eventually it is
moved to the 9(9) variable WS-VARN.
| Is This Answer Correct ? | 12 Yes | 5 No |
Answer / ashish
Alphanumeric to numeric movement is possible but not always,
say if it has numeric value then only it is possible o/w if
it contains alphabetic value then it wont b possible
| Is This Answer Correct ? | 10 Yes | 4 No |
Answer / 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 |
hai friends ,i have HSBc exam on this sunday,my platform is Mainframe,i have 1 year exp,pls any one send me placement papers of Hsbc and technical questions on mainframe
6 Answers Citi Bank, CitiGroup, HSBC, iNautix, Wipro,
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
I want ALL jcl ERROR cods
what is rediffine clause?in what situation it can use?give me real time example?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Can we put move statement in COBOL copybook
how to crack cts interview apps? NOVEMBER 21 2010
Write a program to explain size error.
What is the difference between structured cobol programming and object alternativelyiented cobol?
can any one help -s806