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 |
How to find d key field of a pf that doesn’t have source physical file?
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
1.Where we declare Variables in RPG/400,RPGIV,RPGILE.? 2.When do we use D-spec and I-spec in real time ?.what is difference between them?
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...
IN RLU what are the record level keyword is used?
How to call one program from another program in RPG? please help me with the code
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
Anybody can explain the difference between SFLCLR & SFLINZ?
How can a screen field that has changed since the last output operation be detected?
I want to add 10 days in current date. how it is possible in CL program...?
how can an indexed file be used as arrival sequence in RPG?