IBMiAccess




Results 1 to 4 of 4

Thread: Dupchgsplf

  1. #1
    Experienced Forum Member dhanuxp's Avatar
    Join Date
    Mar 2008
    Location
    Sri Lanka
    Posts
    634
    Rep Power
    2487

    Dupchgsplf

    Hello

    Anybody tried to change the User name of the spool file using DUPCHGSPLF command,
    I'm getting following error. Server is V6R1

    Code:
    DUPCHGSPLF JOB(002674/DHANU/QPADEV001H) SPLFILE(CPYFRMSPLR) OUTQ(DHANULIB/LASERPRT) NEWUSER(TEST01)
    Value TEST01 for spooled file attribute at offset 58 not valid.
    Function check. CPF33E2 unmonitored by DUPCHGSPLF at statement 0000016600,

    Cause . . . . . : Value TEST01 specified for the spooled file attribute
    beginning at decimal offset 58 for a length of 10 in format SPLA0200 is not
    valid. The reason code is 2.
    1 - The value of the spooled file attribute is not valid.
    2 - The value of the spooled file attribute is not valid when used in
    combination with a specific value of another attribute.

    any Idea Please

    Thanks

  2. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

  3. #2
    Driver of cars, eater of food jamief's Avatar
    Join Date
    Jan 2004
    Location
    Belvidere, IL - United States of America
    Age
    49
    Posts
    9,429
    Rep Power
    12629

    Re: Dupchgsplf

    This is a tatool command, Is there anyone left here: http://taatool.com/ to help you?

    Looks to me like something on the spooled file is not able to be converted,
    I also guess Mr. sloan is using API QSPCRTSP to create the *New spooled file.
    view documentation here: http://publib.boulder.ibm.com/infoce...2FQSPCRTSP.htm


    Telephone: 914-251-9494 Mon - Fri
    9:00 am - 5:00 pm Eastern
    Fax: 914-251-9406 Anytime
    E-Mail: Anytime
    Sales: Anytime
    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

  4. #3
    Experienced Forum Member dhanuxp's Avatar
    Join Date
    Mar 2008
    Location
    Sri Lanka
    Posts
    634
    Rep Power
    2487

    Re: Dupchgsplf

    ophs.. are there any alternate option to change the userName of spool file & copy it to other outq ?

  5. #4
    Admin kitvb1's Avatar
    Join Date
    Aug 2007
    Location
    Stammbach, Germany
    Posts
    2,291
    Rep Power
    3885

    Re: Dupchgsplf

    I believe you can do it with this this tool on this forum. You will need to make mods if you are on anything higher than v5r3.
    http://www.code400.com/cpyfrmsplf.php
    Regards

    Kit
    http://www.ecofitonline.com
    DeskfIT - ChangefIT - XrefIT
    ___________________________________
    There are only 3 kinds of people -
    Those that can count and those that can't.

  6. # 666
    Circuit advertisement
    Join Date
    Aug 1965
    Location
    Yakutsk, Russia
    Posts
    1,000,000
     

Facebook Comments


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •