suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
TCS,
3 4985Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
3 4186Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
1459Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
1 3567suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
2 5689i 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 3902Set 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...?
1466
How would display prime numbers using CL program?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
how can I tell when to replace the array?
what do you mean by an input subfile, what are the keywords required?
How to call one program from another program in RPG? please help me with the code
what is the necessary keyword needed to scroll subfile records?
How many program bind in one module....
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?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is the difference between copybooks and subprocedures in as400?
can you debug ile rpg program using isdb?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
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...?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How Chain operation copies the record's data to the input buffer for the program?