How can you determine the number of characters in a variable?
Answers were Sorted based on User's Feedback
Answer / abhishek bajpai
Use
%Len(%Trim(Variable)) to get the exact number of characters
in a variable
| Is This Answer Correct ? | 14 Yes | 0 No |
wat is the difference between dataarea and data queue?
5 Answers Airtel, Four soft, Shahi Exports,
how can you display specific subfile page on the screen in unequal subfile?
How to update physical file in rpgle without using display file?
When it is desirable to describe files Internally?
how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?
Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.
how to change the length of the field in a physicalfile?
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
in which journalling which attributes are necessary
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?