Copy a file of 20 million records to another file.

560 pts.
Tags:
AS/400
DB2/400
Hi Group,

I need a copy data from a file having 20 million records to another file. What could be best way to achieve this? One way is creating a duplicate object. Is there any other method?

Regards,
M


Software/Hardware used:
AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • CharlieBrowne

    You can do a CRTDUPOBJ  using DATA(*NO)

    Then use and SQL INSERT to copy the records.

    Other options include: CPYF, do a SAVOBJ and then a RSTOBJ to a different library or a different name

    62,280 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: