if there is pf in two libraries and there is a logical file
based on the PF, how to find the pf on which the pf is based.
Answers were Sorted based on User's Feedback
Answer / joy mukherjee
Use DSPFD with the logical file name, you will get the
physical file name associated with that logical file.
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / aa
Use command DSPDBR on each PF qualified with the library name. The LF will be displayed in the PF to which it belongs.
| Is This Answer Correct ? | 8 Yes | 1 No |
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
How do you call procedures in ILE?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
parameters cannot be passed in which one???
are there any useful c runtime apis that I can call from rpg iv?
Hi all friend, Could Any body send me the code (with coding) of this senario because I have tried but I am stucking somewhere so Please reply ASAp with coding. senario:Q: I have to write the flat file(FLAT1) into the three different PFS (PF1,PF2 and PF3) with the respect of H line data, D line data and Z line data of flat file. where I have different data in flat file(FLAT1) which is mentioned below with data. H0929200909282009092820095529420003000073 D2222220006765555webservi001633.9909222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840001633.99001633.99851856492689800208001915 511001633.990408490000000.0000000003446048 1,3 110793145 09070700351 372367 Rosner Motors D3333320006774444webservi000271.2409222009092820090924200951 8564380134049ROSNER TOYOTA OF FREDE FREDERICKSBURVA 224080000USA840840000271.24000271.24851856492689800208001835 511000271.240930680000000.0000000003450293 1 110793254 09072100079 373933 Rosner Motors Z0929200900000020001905.25 FLAT1 has the three pf data H line-represents the header pf data,D-Represent Details pf data,Z-Represents the trailer pf data Now I have to write H line data of flat file into Header pf (PF1),D line data of flat into datails pf(PF2) and Z line data of flat file into pf(PF3) with the spefic position(H,D and Z data of flat file into PF1, PF2 and PF3) of flat file.
Can you copy the records created by the OPNQRYF to other files and how?
What is the difference between inner join @ outer join
what is EXCEPT command in rpg and use
Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?
can you debug ile rpg program using isdb?
Why we need to give File and To file Names While we are using OVRDBF. What is your understanding related to this?