Suppose you have 3 members in a database file. How to read
records from all the members
Without using CL (OVRDBF) i.e. it should be handled
exclusively in an RPG program?

Answer Posted / reena

Create a logical file which contains the 3 members. Later
user the LF in RPG Program

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

define the purpose of the iter operation?

1047


which are the string manipulation opcodes?

643


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1795


can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3160


what is the difference between *like and *namvar ?

1579






Difference Between Call & Sbmjob?

792


what is the length of a variable in rpg?

976


maximum number of subfiles that can defined in a rpg program for one display file is?

1048


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

606


What is the maximum number of subfiles that can be specified in a display file?

1162


how many files can be defined in f specs?

1446


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.

2272


writing an sql statement from selecting records from two files using single statement and nested select statement.

652


describe the difference between the dowxx and douxx operations?

1203


In Which Specs Arrays, Tables & Constants Are Defined?

711