+ Reply to Thread
Results 1 to 3 of 3

Thread: MCH5601 while savobj in batch

  1. #1
    Guest.Visitor Guest

    Default MCH5601 while savobj in batch

    Hi. I have a problem. When our application try to savobj to *SAVF from CLP which SBMJOB running Dayend batch. We got the MCH5601 message. In our CLP we sure to CLRSAVF before SAVOBJ. I would like to know what should cause the system to sending this message. Becuase when we running the very same command on the same object in interactive mode it will never give us such a message. Even if the object cannot be saved because it was allocated by some other job. Thanks for every ideas.

  2. #2
    Guest.Visitor Guest

    Default MCH5601 while savobj in batch

    On Thursday, September 10, 1998, 11:03 PM, Panida wrote: Hi. I have a problem. When our application try to savobj to *SAVF from CLP which SBMJOB running Dayend batch. We got the MCH5601 message.....


    Template value not valid for instruction. Cause . . . . . : The location of the value is template &1 with an offset to field in bytes &2, an offset in field in bits &3, a length of field of &4,and an instruction operand number of &5. The reason code is &6. If the reason code is X'0000', a reason code may not be available.

    It might help to post the message detail for MCH5601 and any messages from the joblog (check to make sure you are logging everything) Regards .....

  3. #3

    Default MCH5601 while savobj in batch

    On Thursday, September 10, 1998, 11:03 PM, Panida wrote: Hi. I have a problem. When our application try to savobj to *SAVF from CLP which SBMJOB running Dayend batch. We got the MCH5601 message.....
    On Friday, September 11, 1998, 09:29 AM, John Albert wrote: Template value not valid for instruction. Cause . . . . . : The location of the value is template &1 with an offset to field in bytes &2, an offset in field in bits &3, a length of field of &4,and an instruction operand number of &5. The reason code is &6. If the reason code is X'0000', a reason code may not be available.

    It might help to post the message detail for MCH5601 and any messages from the joblog (check to make sure you are logging everything)

    In order to find the second level text for most of the system messages (e.g., MCHxxxx or CPFxxxx), simply do
    WRKMSGD MCHxxxx
    This will give you a subfile of messages from QCPFMSG (the system message file), nicely positioned right to your message. Take option 5 (Display Details), then option 30 (All of the above) and you'll see both first level and second level text. Incidentally, WRKMSGD MSGID(msgid) MSGF(QRPG/QRPGMSG) shows compiler errors, while WRKMSGD MSGID(msgid) MSGF(QSYS/QRPGMSGE) shows RPG runtime errors. Joe

+ Reply to Thread

Similar Threads

  1. Unsuccessful SAVOBJ
    By mtharp in forum General
    Replies: 2
    Last Post: 07-25-2007, 09:15 AM
  2. SAVOBJ COMMAND PROBLEM
    By Guest.Visitor in forum CL
    Replies: 3
    Last Post: 03-28-2005, 06:27 AM
  3. Saving private authorities with SAVLIB, SAVOBJ
    By Guest.Visitor in forum General
    Replies: 2
    Last Post: 12-12-2002, 03:27 AM
  4. SAVOBJ and the ACCPTH parameter
    By Guest.Visitor in forum CL
    Replies: 1
    Last Post: 11-26-2002, 02:41 AM
  5. SAVOBJ access path
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 03-22-2000, 11:23 AM

Posting Permissions

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