Can Synon create a CL code?

15 pts.
Tags:
CL
Synon
How is CL code implemented in Synon?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

I haven’t used synon, but I work at a site which runs software generated by synon and there are plenty of CL programs. Looks to me like synon generates CL programs when it sees them as necessary.

Regards,

Martin Gilbert.

Martin’s answer needs some expansion. Synon (2E) per se does not generate CL (just RPG or COBOL), but it does allow developers to create their own CL programs as USER PROGRAMS that can interact with other generated 2E programs.

Discuss This Question: 8  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Devanand0510
    How CL code is implemented in Synon
    15 pointsBadges:
    report
  • AS400PCFileTransfer16
    Hi, I have used synon and it does not generate CL. You have to create it as a user program. What that means it is known to the mode but was not generated. Regards, Bill Swann
    115 pointsBadges:
    report
  • Reenasudarshan
    HI, Synon does not generate CL Code. an already existing CL program can be used in SYNON program through EXEUSRPGM Function. for that, firstly create a new function with Execute User Program. Later, name the function with the same name as that of the CL program and use the same in the SYNON program. Hope this is clear to you... Regards, Reena S
    65 pointsBadges:
    report
  • R0
    Synon can not generate CL code as CL is a command and does not have a object
    85 pointsBadges:
    report
  • R0
    no synon can can not create a CL code as CL but CL can be used by using EXEUSRPGM function
    85 pointsBadges:
    report
  • SaurabhChakraborty
    CL is implemented as is in SYNON and not generated. The reason for using SYNON to have a provision to add CL programs from within is to enable users to be able to pass parameters and communicated from within the model.
    355 pointsBadges:
    report
  • TheRealRaven
    Also, it's not clear why Synon would ever need to generate CL. Since practically any CL function can be done within RPG or COBOL, why generate CL? Certainly, if a large amount of CL is to be executed, a compiled CL module or program is preferred; but it would only rarely ever be needed.
    21,845 pointsBadges:
    report
  • adharia
    Hi,
    Create an Execute External Function with *none as index and then take option 'E' on the function. You will get your normal SEU to enter the CL code you wish to add. After writing the code come out of the SEU and save it. You can then go to the QCLSRC/Gen library where the code will reside and compile there using option 14. Call the external function where ever you wish to use your CL.

    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: