how do I do concatenation in rpg iv, like I do in cl?



how do I do concatenation in rpg iv, like I do in cl?..

Answer / maha

' '+%trim()+' '

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


wat is the difference between array and multiple occurence data structure?

4 Answers   Four soft,


what are the types of identifers

2 Answers   IBM,


How can we override a file during runtime in rpg?

0 Answers  


can you debug ile rpg program using isdb?

0 Answers   IBM,






Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


what is the necessary command needed before OPNQRYF and why?

5 Answers  


If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?

1 Answers  


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?

14 Answers   HCL,


What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?

10 Answers  


purpose of pannel group??/

2 Answers   CTS,


Categories