How can you delete a record from a file in RPG without using DELETE oppcode?
Answers were Sorted based on User's Feedback
Answer / surya siram
I believe we cant delete a record without using DELETE Opcode. Or we can use SQLRPG "Delete" statement to delete a particular record.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / as400vaibhav@gmail.com
we can use CLRPFM command in RPG by with API QCMDEXC.
Is This Answer Correct ? | 0 Yes | 1 No |
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
steps involved in debugging and types of debugging modes?
what is the difference between the cpyf command crtdupobj command?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
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.
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
can we perform CHAIN operation on Subfile record format....?
WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?
I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.
what is edit word and edit code