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 |
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
Can we possible to key with the date field?
A rpg or clp command to find if the file field is defined as a character or numeric field.
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
what is the necessary keyword needed to scroll subfile records?
Can an indexed file be accessed in arrival sequence in RPG?
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
parameters cannot be passed in which one??
wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)
Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?