How To Separate The Numerics From An Alphanumric Data Item
Which Contains Both Alphabates And Numerics ?
Answer Posted / kingmanish
Use the COBOL keyword ISNUMERIC.
This would be evaluated to true if the value stored is
numeric and you can separate the numeric values
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
what are decleratives in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is the use of outrecord?
How do you get the data to code the BMS macro?
How do you differentiate between cobol and cobol-ii?
Describe the cobol database components?
Difference between cobol and cobol-ii?
What is the difference between comp and comp-3 usage?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is the use of intialize verb?
Write a cobol program making use of the redefine clause.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
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.