How to change the name of physical members Dynamically?



How to change the name of physical members Dynamically?..

Answer / kathan

Create a clpgm, Use DSPFD command with *mbrlist option. Read
that outfile and ask for user to enter new name and pass it
as a variable name in RNMM comand.

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More RPG400 Interview Questions

1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

0 Answers  


what was the robotech rpg?

0 Answers   IBM,


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

4 Answers  


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  






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

3 Answers   Cap Gemini, IBM,


suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

3 Answers   TCS,


Can a indexed file be accessed in arrival sequence in RPG?

1 Answers  


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

0 Answers  


I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?

1 Answers   IBM,


how can we can we the data decimal error?how can we open such file in support

1 Answers  


Categories