There is a excel sheet having details of Old account number
and new account number. I need to update these details in
my AS400 files. i.e. all the records having old account
number should be replaced with new account number. There
can be 100 or 200 or 300 PFs...no fix files known.

how can we do this?Solution should be performance oriented

Answers were Sorted based on User's Feedback



There is a excel sheet having details of Old account number and new account number. I need to upda..

Answer / kusum

Excel sheet needs to converted in DB file. We can use AS400
utility or FTP to do so. Once it is converted in DB file. We
can use SQL update script to update the Database.

Is This Answer Correct ?    1 Yes 0 No

There is a excel sheet having details of Old account number and new account number. I need to upda..

Answer / smita

We can convert the excel sheet into file by command
CPYTOIMPF. Read this file and write programs to update 100 -
200 files for given updation of old account number. But
this solution will not provide gud performance. Is there
any other solution?

Is This Answer Correct ?    3 Yes 3 No

There is a excel sheet having details of Old account number and new account number. I need to upda..

Answer / mahalakshmi

CPYFRMIMPF and then update the records by using SQL

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

in which journalling which attributes are necessary

2 Answers   CTS,


How can we override a file during runtime in rpg?

0 Answers  


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


there is any limit to display the members in rpg400?

3 Answers  


what is the difference between the procedure and module in ILERPG?

4 Answers  






difference between 1:%found and %equal built function in detail with example .

6 Answers   Polaris,


how does the rpg element work?

0 Answers   IBM,


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


can anybody explain significance of *loval setll with example code????

3 Answers   HSBC,


How to declare the more than one file in cl/400.

13 Answers   IBM,


are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file

1 Answers  


Categories