How to covert given string into ASCII value in COBOL/MF
COBOL
Answers were Sorted based on User's Feedback
Answer / asmara
Just by using translate verb only u can easily translate it.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / anu
please explained the answr for this question in detail.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / asmara
translate(Rtrim(Ltrim(substr(col_1,1,6))),'$',0123456789')
=''
thru leading (LTRIM) and Trailing (RTRIM) spaces from the
substring, then translates embedded spaces to $ and digits
to spaces and leaves any other char unchanged, then checks
to be sure there is nothing but spaces left. We can say
that we are checking the substring contains only numberic
digits, optionally with leading and/or trailing spaces.
| Is This Answer Correct ? | 0 Yes | 2 No |
can we use 77 level no for Redefines?if we use give an example?
How can we know that cobol program is using report file or simple file....?
When is a scope terminator mandatory?
How to know whether the module is dynamical or statistical?
Give some examples of command terminators?
Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.
Explain complete concept of table handling in COBOL with an example?
) what is the difference between AID and HANDLE AID?
what is Pic 9v99 Indicates?
Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand
I know my query will return more than one row but I don't want cursor what should I do?
which one is better among static call and dynamic call?