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 ? | 8 Yes | 0 No |
how do I declare a table or array in rpg iv?
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
what is the difference between SETON RT & RETURN?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
how to display all the members records in a physical file without using ovrdbf?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
what is the equivalent keyword for CHAIN opcode ??
How do you call procedures in ILE?
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?
HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.