ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Get count of job spool file in CL

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

  • Get count of job spool file in CL

    How to get count of the number of spool files in Job Spooled file.
    Also how can i read those values for filenames that have the same name in the job spool.

  • #2
    Re: Get count of job spool file in CL

    Generate a list of spooled files (QUSLSPL API)

    http://publib.boulder.ibm.com/infoce...%2FQUSLSPL.htm

    You can use job/user/jobnumber as parms.
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Get count of job spool file in CL

      Thanks for the response.Could u please guide on how i can go about using that API.I would like to read each of the column values that exist in Work with Job spooled files.
      Please guide.

      Comment


      • #4
        Re: Get count of job spool file in CL

        I would start by getting the API up and running and then see what values you have to work with. I'll teach how to fish, but not....
        Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

        Comment


        • #5
          Re: Get count of job spool file in CL

          Originally posted by techas400 View Post
          Thanks for the response.Could u please guide on how i can go about using that API.I would like to read each of the column values that exist in Work with Job spooled files.
          Please guide.
          first i'd suggest ditching CL entirely for working with APIs. i could give you the RPG code fairly quickly but i don't have the time nor inclination to write the code in CL...
          I'm not anti-social, I just don't like people -Tommy Holden

          Comment


          • #6
            Re: Get count of job spool file in CL

            please go here: http://www.code400.com/inside.php?category=API

            Scan for "QUSLSPL"

            click on download and now you have a program to run and debug.

            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

            Working...
            X