+ Reply to Thread
Results 1 to 5 of 5

Thread: CL Differences in Batch vs. Interactive

  1. #1
    Guest.Visitor Guest

    Default CL Differences in Batch vs. Interactive

    I have a character string of 256 that I am passing from one CL to another. When I run the job interactively the string remains the same. But when I use it in Batch it changes it. I have dumped the cl and the variable is not changed before sending it to the second cl. Example: Before ----- &QRYSLT *CHAR 256 'MKTCOD = "TMGR" *AND CUST' +26 ' = 08680 ' +51 ' ' +76 ' ' +101 ' ' +126 ' ' +151 ' ' +176 ' ' +201 ' ' +226 ' ' +251 ' ' After ------ &QRYSLT *CHAR 256 'MKTCOD = "TMGR" *AND CUST' +26 ' = 08680 AND CUST = 08680' +51 '» ' +76 ' '

  2. #2
    Guest.Visitor Guest

    Default CL Differences in Batch vs. Interactive

    Hazen, this issue has been discussed a zillion times. But, to make a long story short, create a command to match the parameters required by the cl program and submit the command instead. HTH

  3. #3
    Guest.Visitor Guest

    Default CL Differences in Batch vs. Interactive

    Better yet, write the CPP for the command in REXX. OS doesn't jack you around when the Command PRocessing PRogram is written in REXX. IMNSHO bobh

  4. #4

    Default CL Differences in Batch vs. Interactive

    The first place to start would be the "Operations Navigator" that comes with CA/400. It will do all you asked and more. Dave

  5. #5
    Guest.Visitor Guest

    Default CL Differences in Batch vs. Interactive

    Thanks David. It does.

+ Reply to Thread

Similar Threads

  1. Batch to Interactive Message
    By David Abramowitz in forum CL
    Replies: 3
    Last Post: 06-03-2005, 05:35 PM
  2. INTERACTIVE TO BATCH
    By Guest.Visitor in forum IBM i (OS/400, i5/OS)
    Replies: 5
    Last Post: 09-29-2004, 12:21 PM
  3. Does web-facing run as Interactive or Batch?
    By David Abramowitz in forum Programming
    Replies: 5
    Last Post: 09-10-2002, 10:56 AM
  4. Batch Vs Interactive Jobs
    By Guest.Visitor in forum Application Software
    Replies: 3
    Last Post: 05-12-2000, 10:06 AM
  5. interactive vs batch CPW
    By Guest.Visitor in forum Analysis
    Replies: 1
    Last Post: 01-13-2000, 12:25 PM

Posting Permissions

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