Suppose you have 3 members in a database file. How to read
records from all the members without using CL (OVRDBF) i.e.
Entire process should be handled exclusively in a RPG program?
Answers were Sorted based on User's Feedback
Answer / milan kumar banerjee
One way could be using CPYF copy all the members into a
single member of a file and then process the new file in
the RPG.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / murali
It is not possible to read all the members through OVRDBF, you need to override the file in the CL and use use EXTMBR('*ALL') keyword on F specification in RPGLE
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / prasanh
Hello, EXTMBR key word can be used in RPGLE program, but the
question is how to use it in RPG?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikumar
2nd and 3rd answers are correct...
Yes, EXTMBR(*ALL) is used in RPGLE program...
| Is This Answer Correct ? | 0 Yes | 0 No |
How can we change element of compile time array?Can we do so
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?
How to print Superscript / Subscript from RPG400
how many variables can we declare in cl pgm?
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)
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...?
I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)
How can i keyed a flat file in RPGLE
How to update only a field of a PF in an RPG program. I don't want to update the record, only one field.
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .