How to change the name of physical members Dynamically?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

511


how can I tell when to replace the array?

695


How many program bind in one module....

2115


How to declare the pull button in AS/400..

1871


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5390






If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

611


explain sflclr, sflend, sfldlt, and sflcsrrrn?

882


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

706


How would display prime numbers using CL program?

5672


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1886


what is the necessary keyword needed to scroll subfile records?

695


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

824


What is the purpose of record level identifier?

722


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?

1445


What is ment by record level identifier?

647