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 / s.kumar
If file FileA has fields field1, field2, field3, and we
want to write out field2 only ...
C...except..Change
OfileA...E...Change
O...............field2
Hope it will work fine.
For Free Format try out following...
Update Recformat %fields(field2);
| Is This Answer Correct ? | 33 Yes | 1 No |
Post New Answer View All Answers
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
How to handle duplicate error handling in RPG?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
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...
can I touch the array during treatments?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
what is data area and how it is used in rpg program ?
How to select highest score of each subject or how to select highest income of every month?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what was the robotech rpg?
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
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...........
how do I declare a table or array in rpg iv?
Explain mdt?
How to call one program from another program in RPG? please help me with the code