What does the IS NUMERIC clause establish ?
Answers were Sorted based on User's Feedback
Answer / jana.gadi
IS NUMERIC CLAUSE is used to test wheather the given
identifier is numeric or not
| Is This Answer Correct ? | 28 Yes | 0 No |
Answer / smijo
incase u redefine X(9) to 9(9).. and if value of x(9) is 'AAAAA' , then if you display the redefined numeric variable it will also show 'AAAAA'. so to check the numeric variable actually contains numeric data like 9999 you can use IS NUMERIC.
if X(9) contains 999999999 then ur if variable is numeric will be true
| Is This Answer Correct ? | 5 Yes | 1 No |
what is the advantage of using redefines instead of delaring the variables ?
What is the difference between a binary search and a sequential search?
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible
whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?
What is difference between static and dynamic call in cobol?
How do you define a table/array in COBOL?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?
What are literals?
What is the maximum length of a field you can define using COMP-3 in COBOL?
how to refer the data field?
01 a pic s9(5) occupies how many bytes ?