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 |
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
What is file identifier where we can use?
what is plat file?
What is the purpose of record level identifier?
can anyone explain aboutovrOVRDBF,OPNQRYF, OVRSCOPE and OPNSCOPE?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?
how do you use commitment control in rpg?
Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.
parameters cannot be passed in which one??