How to update only a field of a PF in an RPG program.
I don't want to update the record, only one field.
Answer Posted / kapil kumar
Use CHAIN for that record
then EVAL fld='value'
UPDATE pfrecfmt
| Is This Answer Correct ? | 1 Yes | 24 No |
Post New Answer View All Answers
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what is the use of sflnxtchg?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what is the necessary keyword needed to scroll subfile records?
what is an online rpg?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what is the rpg system?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
do you use message subfiles? What are the necessary keywords required coding a message subfile?
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.
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How Chain operation copies the record's data to the input buffer for the program?
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.