ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Regarding CRTSRVPGM

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

  • Regarding CRTSRVPGM

    Hi

    how can i create service program and that program should be in binding directory.

    Thanx in advance,

    magesh

  • #2
    Re: Regarding CRTSRVPGM

    U can create service program using CRTSRVPGM.
    Sau ur service prog name is @SampleSrvpgm

    Then u can put ur service program in an existing binding directory using
    Add Binding Directory Entry (ADDBNDDIRE) COMMAND.

    Binding directory . . . . . . . Name
    Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB...
    Object specifications:
    Object . . . . . . . . . . . . Name, generic*, *ALL
    Library . . . . . . . . . . *LIBL Name, *LIBL
    Object type . . . . . . . . . *SRVPGM *SRVPGM, *MODULE
    + for more values
    Position specifications:
    Object position . . . . . . . *LAST *LAST, *FIRST, *AFTER...
    Object . . . . . . . . . . . . Name
    Library . . . . . . . . . . Name, *LIBL
    Object type . . . . . . . . . *SRVPGM, *MODULE



    Here object should be @SampleSrvpgm and object type should be *SRVPGM
    Thanks,
    Giri

    Comment

    Working...
    X