suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
2 5658i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
IBM,
1 3878Set 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...?
1457Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.
6 9437If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
IBM,
1479We have seen no of parameter list but If we mention like this 'CALL PROGNAME PLIST ' how to know No of parameter name of program ?
IBM,
2 3088How to know message id (errorid) in msgfile when error is occurred on screen ? WRKMSF will display all error id but i want to know error id based on error msg only?
1 3944
what is a non-join logical file?
an access path may be in which sequence?
what are all the contents of subfile?
in conjunction with what other keyword must ovrdta and ovrata be used?
what opcode will be used to test the zone of a character field?
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?
writing an sql statement from selecting records from two files using single statement and nested select statement.
what is the use of jdftval in join logical file?
what is the command used to invoke rlu ?
what are the different opcodes available in rpg for database access ?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.
Define sort?
Explain the difference between search and searchall?
how do I preserve and clean the array?
How to write record if no field or the field are different in physical file in rpgle ?