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 |
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
How can we override a file during runtime in rpg?
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?
I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?
5 Answers CitiGroup, Symphony,
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
How to print output from openquery in as400 ?
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
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 is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
what is the use of sflnxtchg?