How to create a physical file without CRTPF

Tags:
AS/400
Physical File
How to create a physical file without CRTPF command?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Press F6 on PDM (Programming Development Module) screen give Source Member Name of your choice, then Source type (PF) and optional description and press enter. SEU (Source Entry Utility) will be opened up here you can add physical file contents.

Discuss This Question: 6  Replies

 
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.
  • RossHowatson
    SQL and Create Table and define the table.  SQL and Create Table and use the LIKE keyword.  Use Excel and upload a file from your PC to the IBM i.  CPYF (Copy File) from another physical file.
    630 pointsBadges:
    report
  • philpl1jb
    Odd question. Want to give us some background.
    54,090 pointsBadges:
    report
  • ToddN2000
    Can be done a number of ways, like using a data transfer for one or by using SQL's command CREATE TABLE. Evan as simple as copying an existing file and changing the name. Like Philpl1jb said give us a few more details for a clearer answer.
    133,740 pointsBadges:
    report
  • ToddN2000
    Just thought of this one as well, can be output file from a WRKQRY or WRKQMQRY.
    133,740 pointsBadges:
    report
  • Splat
    CRTDUPOBJ, if you don't mind the resulting file being formatted the same as that being duplicated.
    12,895 pointsBadges:
    report
  • RossHowatson
    If you are in the System 36 environment you can use the BLDFILE or within a program you can create a file on the fly.  This would be a flat (no definition).  You could use FTP to upload a save file from another platform.  Already individuals have given ways this can happen and if more effort is put into it individuals could come up with even more ways.  The real question is what kind of file do you want/need.
    630 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: