ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

AS400 GENSSW and OPTSWCH

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

  • AS400 GENSSW and OPTSWCH

    Hi

    I am as400 cobol developer could someone explain to me what is the difference of GENSSW and OPTSWCH subroutine?

    I think both subroutine have the same process which is program switching.

    Thanks,

  • #2
    Re: AS400 GENSSW and OPTSWCH

    As it happens I know these routines - they are part of the the software package you are working with. The manuals and training material provided with that software explain the function of these subroutines. OPTSWCH is the newer routine of the two, and provides more functionality. So for any new development that requires program switching you should be looking at OPTWSCH. You should only look at GENSSW in the context of existing code.
    Help you out? Sure. Which way did you come in?

    Comment


    • #3
      Re: AS400 GENSSW and OPTSWCH

      @Frank thanks for the clarification; I am only curious about these two routines because both still exist from our system.

      Comment


      • #4
        Re: AS400 GENSSW and OPTSWCH

        yes, all code referring to GENSSW was left in place in existing code when the OPTSWCH subroutine was introduced. No point trying to change existing processing if it works fine - that was the thinking behind it.
        Help you out? Sure. Which way did you come in?

        Comment

        Working...
        X