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 |
where do u use low-value and high value in cobol
What does MAXCC 3 means? It is used in one my codes.
wht is the diff b/w if and evaluate stmts ?
) what is the difference between AID and HANDLE AID?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya
i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS
What are the differences between COBOL and COBOL II?
What is the use of intialize verb?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
What is file status 39 ?
if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.