ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Problem with submission

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

  • Problem with submission

    Hello,

    I have one of those issues that I am at a loss and IBM technical services is at a loss. I have a command SPLTOPDF which converts spooled files to PDF files. This command has been working up until last Friday when we get this error when I submit this command in a CLLE program.
    CPA0702 Error found with QSH session, reason code 4, errno 3489.
    Function check. QSH0002 unmonitored by SPLTOPDF at statement 12700,
    instruction X'0113'.

    The interesting thing about this is I can run the exact command interactively and it works and when I call the CL program from a command line it works. I get this message when I submit the CL program to batch. Any suggestions to why this occurs. IBM believes it is an environmental problem but I'm not so sure.

    Stumped big time!

    DAC

  • #2
    Re: Problem with submission

    First....with you heading I thought you were in the wrong forum.....

    check the command to see if it can run interactivly
    PHP Code:
    Where allowed to run . . . . . . ALLOW          *IMOD     
                                                    
    *BMOD     
                                                    
    *IREXX    
                                                    
    *BREXX    
                                                    
    *BPGM     
                                                    
    *IPGM     
                                                    
    *EXEC     
                                                    
    *INTERACT 
                                                    
    *BATCH 
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Problem with submission

      I did check this but verified that this command can be run in batch. Does anyone know if there is an alternative to SPLTOPDF to convert a spool file to PDF format?

      DAC


      Command . . . . . . . : SPLTOPDF Library . . . . . . . : SPLTOPDF

      Program to process command . . . . . . : SPLTOPDF
      Library . . . . . . . . . . . . . . : *LIBL
      State used to call program . . . . . : *USER
      Source file . . . . . . . . . . . . . : QCMDSRC
      Library . . . . . . . . . . . . . . : SPLTOPDF
      Source file member . . . . . . . . . . : SPLTOPDF
      Validity checking program . . . . . . : *NONE
      Mode(s) in which valid . . . . . . . . : *PROD
      *DEBUG
      *SERVICE
      Where allowed to run . . . . . . . . . : *IMOD *BMOD *IREXX
      *BREXX *BPGM *IPGM
      *EXEC *INTERACT *BATCH
      Allow limited user . . . . . . . . . . : *NO
      Maximum positional parameters . . . . : *NOMAX

      Comment


      • #4
        Re: Problem with submission

        Use Ops Navigator, open Basic, Printer Output, find your spool file, and right click. Then "Convert to PDF"

        Comment


        • #5
          Re: Problem with submission

          Hey dcutaia:

          If you have a min. compile your clle as a clp. This error sounds like one I've received but I can't find the details.

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

          Comment

          Working...
          X