If record-format name in an externally-described file has
already been defined as a file-name.how to solve this?
Answers were Sorted based on User's Feedback
Answer / rahul
Use the "RENAME" keyword in F specs.
F File1 IF E DISK Rename(File1:Filex)
And use the new record format name "filex" in the program.
| Is This Answer Correct ? | 31 Yes | 3 No |
How to find d key field of a pf that doesn’t have source physical file?
what do you mean by SESSION/DEVOCE ERROR?
difference between CHAIN and READE?
1.The questions have given an array declaration and move operation then this statement is correct or not?
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
there is any limit to display the members in rpg400?
How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?
when will come session device error?
Hi, Can anybody give me real sinario for SFLRCDNBR?with example?
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
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?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?