How to create a text file in i5/OS system

160 pts.
Tags:
File formats
i5
OS/400
How to create a text file in i5/OS system
ASKED: June 18, 2008  7:15 PM
UPDATED: April 27, 2010  7:23 AM

Answer Wiki

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

Jacky,

Could you describe a little more what you are wanting to accomplish? Do you want to create a file from another system? Or do you want to be able to create a file by keying it in?

Stuart

==========================================================

If you want to create text files like you do with Notepad, then use Notepad. Your system is perfectly capable of having Notepad create your text files. Or if you must use a green-screen command, then use EDTF.

Tom

Discuss This Question: 3  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jacky
    i am new to i5/OS. I just want to create file in this OS as we create a text file in windows using notepad
    160 pointsBadges:
    report
  • Gilly400
    Hi, The command for creating a file is CRTPF (CReaTe Physical File) :- CRTPF FILE(Your_library/Your_File) RCDLEN(80) The RCDLEN parameter sets the record length for your file. Regards, Martin Gilbert.
    23,730 pointsBadges:
    report
  • Bigmac46
    anther way - If you intend to use the QTXTSRC -
      STRSEU SRCFILE(libname/QTXTSRC) SRCMBR(THISONE)
    - from command line will open a txt file that will give an option to save on exit. If needed you could create a command with 1 parm being filename that you will use.
    1,000 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following