How to update physical file in rpgle without using display
file?
Answer Posted / mathan kumar
Ffile1 ufe disk
key chain rec1
if %found
update rec1
endif
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
How to declare the pull button in AS/400..
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
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...
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is the purpose of record level identifier?
how do I preserve and clean the array?
what is the procedure and explain about real time scenario.
what do you mean by an input subfile, what are the keywords required?
How to select highest score of each subject or how to select highest income of every month?
What is the difference between iter and do?
Explain mdt?
what is the difference between do while and do until?