× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ping,

WSID is really the job name.  For an interactive session that would be
your device name.  For batch jobs it is not.

We capture the display session name in the CL program that submits the
job (we have a reserved space in the LDA, other choices work just as
well, like a parameter) and use that value in the RPG program.

Ren Fu Ping wrote:
>
> 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
<<snip>> 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,


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.