ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Related Special files

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

  • Related Special files

    Hi,

    Can any one tell me how to write special program for special files?

    I'm working on special program project, for this we need to declare files as a SPECIAL in Device type & give program name which will get called when we do any read/write or update operation with this special file.

    See following eg. (File is ARESBI0)

    FARESBI0 IF E Special PgmName('SPECIALTST')
    F Plist(Plist01)
    F*

    In above eg. program 'SPECIALTST' will get called when we read this 'ARESBI0' file.

    Eg.
    Read RARESBI0
    ------
    Can any one give me useful links related to how to write special programs?
    Cheers...
    Nil

  • #2
    Re: Related Special files

    Hi Nil:

    Article here on special files. Be sure to click on "special file technique" for more info:

    I just wanted to tell you how much I appreciate your real world ideas and examples. They are the kinds of ideas that can really help smaller shops do the practical, bulletproof kinds of jobs we need to do. I have used your special files technique to replace some old System/36 #GSORT sales analysis programs.


    Best of luck
    GLS
    The problem with quotes on the internet is that it is hard to verify their authenticity.....Abraham Lincoln

    Comment


    • #3
      Re: Related Special files

      Thanks for you reply...however I have gone through this link. Are there more links available then plz let me know.
      Cheers...
      Nil

      Comment

      Working...
      X