ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

RTVCLSRC - Advice?

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

  • RTVCLSRC - Advice?

    Hi all,

    On the AS400 we use, we have a program that I'd like to recompile to output to a library file instead of/along with spooling to a printer.

    The PGM details are below:

    Click image for larger version

Name:	as4.PNG
Views:	377
Size:	321.4 KB
ID:	150750

    Now, when I put these details into RTVCLSRC, I get an error

    Click image for larger version

Name:	as41.PNG
Views:	373
Size:	107.4 KB
ID:	150751

    I haven't used this in a long time and I am far from experienced either - but I'm sure I retrieved CL source code before, but never had issues with files not being found.
    Can anyone shed some light?

    Thanks
    Attached Files

  • #2
    You need to create the source file WARESRC/QCLSRC. That file existed when the program was created, apparently it no longer exists.

    Comment


    • #3
      ...and the command to do that is: CRTSRCPF

      Cheers,

      Emmanuel

      Comment


      • #4
        Either the library WARESRC or the source file QCLSRC doesn't exist. Either change those values in SRCFILE to a source file that exists or add the library (CRTLIB WARESRC) or source file (CRTSRCPF FILE(WARESRC/QCLSRC) ) as appropriate.

        Comment

        Working...
        X