|
This is a multipart message in MIME format. -- [ Picked text/plain from multipart/alternative ] Ping, It is your batch job name. You have a few options. 1) Drop the display name from the report. 2) Accept the fact that it is a job name and not a display name. 3) Evaluate the job log to retrieve the name of the job which submitted this job and use the job name from that to get the submitting display name. 4) Pass the display name as a parameter. Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin "Ren Fu Ping" <fupingren@yeah.net> Sent by: rpg400-l-admin@midrange.com 04/15/2002 08:06 PM Please respond to rpg400-l To: <rpg400-l@midrange.com> cc: Fax to: Subject: Re: Error Message (WSID) Dear All, Thanks Very Much, I solve this problem yestday night under your help. but another issue is as the follow: RPG1: *************************************************** ISDS SDS I 244 253 WSID I 254 263 #USER I 199 2000#UYEAR I 276 2810#UDATE I *PROGRAM PGM *************************************************** I define system data structure in SDS, and WSID and USER position as above, I put this two variable into display file and printer file in RPG2, when running interactive, WSID and USER can get his result on printer file. but running in batch, WSID variable changed with 'INVX01', this maybe my first RPG name, maybe my batch job name. mentioned here, My CL don't use and pass this two parameter. my consideration is that the two variable is system define and needn't control by user. Many thanks! Ping ----- Original Message ----- From: <rob@dekko.com> To: <rpg400-l@midrange.com> Sent: Tuesday, April 16, 2002 1:45 AM Subject: Re: Error Message > This is a multipart message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > How do you like the following: > http://faq.midrange.com/data/cache/197.html > > Rob Berendt > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." > Benjamin Franklin > > > > > "John Taylor" <jtaylor@rpg2java.com> > Sent by: rpg400-l-admin@midrange.com > 04/15/2002 10:52 AM > Please respond to rpg400-l > > > To: <rpg400-l@midrange.com> > cc: > Fax to: > Subject: Re: Error Message > > > > Rob Berendt wrote: > > > I didn't think it went into using a command to get around the 15,5 > > limitation imposed by a CALL used via SBMJOB. > > > Well, the problem is certainly thoroughly explained, and there is an > example > of creating a CMD object, but the example uses a *CHAR parameter, instead > of *DEC. I assume (it's Buck's example) that it was done this way because > the vast majority of the problems are caused by the more complex rules of > the *CHAR. > > It'd be nice if you took a minute to add the *DEC example that you sent to > Ping. Because it focuses only on the issue with numerics, it's much more > concise, and would be a valuable addition to the FAQ. > > > Regards, > > John Taylor > > > > _______________________________________________ > 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. > > > > _______________________________________________ > 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. > _______________________________________________ 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.