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?
Answer Posted / dx
first read all records from physical file and move to subfile
then read change records from subfile format by opcode READC
in loop it will work
eg- readc sfl 56
*in56 downe *on
move dspfile physical file
updat sfl
enddo
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
how do I declare a minor?
What is difference between bind by copy and bind by reference?
is this a rpg channel?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
what was the robotech rpg?
what is program status data structure?
what is data area and how it is used in rpg program ?
what are the key words you must use when using a subfile?
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
What are the types of identifiers?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what is the procedure and explain about real time scenario.
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.
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