Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to insert more than one record to a pf at a time?(Bulk
insert to a pf)

Answers were Sorted based on User's Feedback



How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / ram

how about using SUBFILES...?

Is This Answer Correct ?    10 Yes 2 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / kolla ravi

There is not a thing like a "Bulk insert" or "many records
in one go". No matter what method you adopt the record
action on file is done one at a time.
Now the method you use again depends on Data you have.
If you have data in one or more files CPYF can be used. SQL
may be used when more conditioning and calculation is
needed.Manual entry may be thro UPDDTA or Programs supplied
by 3rd party or tailor made to suit the need.

Is This Answer Correct ?    8 Yes 2 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / swetha p rao

You need to do programming again to handle that subfile
rite?

Is This Answer Correct ?    4 Yes 0 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / zhang

Swetha is right, for additional you can use CPYF or
use SQL
"insert into destable select column1,column2,'123' from
srctable"

Is This Answer Correct ?    4 Yes 0 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / swetha p rao

Bulk insert can be done in ways

1. Using SQL we can runa query
insert into table1 values('a','b','c'),('x','y','z')

2. Using STRDFU we insert records into PF

3. Using DBU (Database utility )also we can insert records

Is This Answer Correct ?    4 Yes 1 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / jp

The question is ambiguous. But still one answer is that you
can enter do bulk insert by the command INZPFM FILE(PF1)
RECORDS(*DFT).Hence the member will be written with data of
maximum records the member can hold.

Is This Answer Correct ?    2 Yes 0 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / subba reddy

more than one record to a pf at a time

1. Using SQL we can runa query
insert into table1 values('a','b','c'),('x','y','z')

2. Using DBU (Database utility )also we can insert records

But using STRDFU we can insert one record at a time

correct me if i am wrong.....

Is This Answer Correct ?    1 Yes 0 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / sharath

an ovrdbf can be used to define blocking factor..individual inserts go to the buffer and get physically inserted into the file when the blocking factor limit is reached.

Is This Answer Correct ?    0 Yes 0 No

How to insert more than one record to a pf at a time?(Bulk insert to a pf)..

Answer / sethu 400

using STRSQL + f4
STRFA + F4

STRFA - START FIELD AID
ENTER SEQUENCE NO
SELECT MODE(F6)
ADD

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB400 Interview Questions

What is the primary file?

0 Answers  


When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.

2 Answers  


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

0 Answers  


CRTDTA AND CRTARA should be used along with?

2 Answers  


How to read a PF in reverse(from last rec to first) using CL?

3 Answers   HCL,


How to change the batch job to interactive job?

0 Answers  


Can anybody tell why Journalling is compulsary before Commitment Control?

2 Answers  


There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.

2 Answers  


How to update physical file using logical file with example?

0 Answers  


Which keyword is used both in subfile and subfile control record format of a DSPF?

8 Answers  


What is the purpose of the chain and setll and setgt?

0 Answers  


WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


Categories