Answer Posted / 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 |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
) How do u handle errors in BMS macro?
What are the different rules of SORT operation?
what is the difference between COBOL2 AND COBOL390?
When is inspect verb is used in cobol?
What is rmode(24)
How arrays can be defined in COBOL?
How you can read the file from bottom?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How many sections are there in data division in COBOL?
how to refer the data field?