dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Pretty much by definition "insert" works on an individual row. There is no "insert 10" that i'm aware of.
If you write a bit of code that can be performed to so the insert, you can put your data values into the variables and perform the insert code. 10 sets of move/perform will get your rows inserted wasily. If you put the data in an external file, you would not need 10 sets of moves/performs. Just read the file, move the values, and issue the insert.
If you then save the code, you will be able to easily do this another time without writing a new bit of code. It would be easily clonable to add rows to other tables when needed for testing.
If you place your 10 records in a qsam file (in the proper format) you could also load the records in batch. My preference is to have a program because often the requirement grows and additional code is required. |
|