ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CRTPF with RCDLEN

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CRTPF with RCDLEN

    Hi All,

    Tried creating the flat physical file with RCDLEN(25) but unable to open in SEU for entering data into it and unable to see that file name in PDM also.

    Thru SQL query i am able to enter the data but i want to edit data thru SEU .

    Regards
    Satyabrata Dash


  • #2
    SEU only edits source physical files. You can edit a source member, then use CPYF with FMTOPT(*CVTSRC) to copy it to your database physical file.

    Code:
    CPYF FROMFILE(SRCLIB/MYSRCPF) TOFILE(DATALIB/MYDATA) FROMMBR(MYDATA) MBROPT(*REPLACE) FMTOPT(*CVTSRC)

    Comment


    • #3
      Or use the CRTSRCPF command:
      Code:
      CRTSRCPF FILE(QTEMP/TEST) RCDLEN(25)
      Regards

      Kit
      http://www.ecofitonline.com
      DeskfIT - ChangefIT - XrefIT
      ___________________________________
      There are only 3 kinds of people -
      Those that can count and those that can't.

      Comment

      Working...
      X