|
Amir, Try creating a command. In your CL program do not use SBMJOB CMD(CALL PGM(MYPROGRAM) PARM(PARM1 PARM2)) instead use SBMJOB CMD(MYPROGRAM THISPARM(&CLVAR1) THATPARM(&CLVAR2)) Here is a link for creating commands: http://publib.boulder.ibm.com/html/as400/v5r1/ic2924/books/c4157214.pdf Chapter 9 Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin Amir Khan <akhan@saudicemen To: "'rpg400-l@midrange.com'" <rpg400-l@midrange.com> t.com.sa> cc: Sent by: Fax to: rpg400-l-admin@mi Subject: Invalid decimal data error in Batch mode! drange.com 02/19/2002 03:13 AM Please respond to rpg400-l This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Hi, I am facing invalid decimal data error problem if RPG program is submitted to batch. One of my RPG program is calling a CL program and that CL program is calling other RPG program. There are some characters and numeric (including decimals) parameters are passed in both calling programs. All programs are running without any error if executed interactively but getting invalid decimal data error in second RPG program if that is submitted to batch through my CL program. Thank in advance for the help. Amir Raza Khan _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.