Hi guys, anybody know How RPG/400 code can be converted to RPG
IV code with a single command?



Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?..

Answer / durgesh

CVTRPGSRC (Convert RPG Source)

Is This Answer Correct ?    23 Yes 0 No

Post New Answer

More RPG400 Interview Questions

wat is the difference between dataarea and data queue?

5 Answers   Airtel, Four soft, Shahi Exports,


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

1 Answers   IBM,


why we do STRSRVJOB in batch debugging in as400

1 Answers  


What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?

2 Answers  


What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?

3 Answers   HSBC, IBM,






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

2 Answers  


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


can i use unique key in LF

3 Answers   TCS,


suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?

1 Answers  


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,


1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?

4 Answers   Virtusa,


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


Categories