ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Rename the record format

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

  • Rename the record format

    I wanto to rename the record format of a file that is declare with extfile.
    Since is a extfile i don't have a way to know, can't i do something like this?
    reaname(*first:myformat)

  • #2
    Re: Rename the record format

    If you know what the external file will be, are you saying that it could have more than one record format?
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Rename the record format

      You can define define the file (or LF's thereover) multiple times and use the rename for each record format
      Code:
      FORDERCUS  IF   E           k DISK    INFSR(*PSSR)        
      F                                     RENAME(OER40:OER401)
      FORDERCUS2 IF   E           k DISK    INFSR(*PSSR)        
      F                                     RENAME(OER40:OER402)
      FORDERCUS3 IF   E           k DISK    INFSR(*PSSR)        
      F                                     RENAME(OER40:OER403)etc.
      Last edited by kitvb1; May 14, 2008, 06:15 AM.
      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