× 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.



From: <Bobby.Hicks@ccc-michigan.com>
> Is there an easy way (without scanning the WCB tables) to get the current
> job name, number and user if * is passed into a program.
>
>
> Basically  I would call program x with a job name/user/job number
> parameter and I want to check and see if the current job is the same as
> the parameter.
>

There might be a nifty API (I'm sure there is), but you can also find
it in the PCO:

000AE0  00000000 00000000  00000000 00000000    ················
000AF0  00000000 D8D7C1C4  C5E5F0F0 F0F6D3E2    ····QPADEV0006LS
000B00  E5C1D3C7 C1C1D9C4  F0F2F1F6 F3F80000    VALGAARD021638··
000B10  00000000 00000000  00000000 00000000    ················
000B20  00000000 00000000  00000000 00000000    ················
000B30  00000000 00000000  00000000 00000000    ················

you migth need to subtract x20 from the offset if you use BASPCO.

The offset is the same in V4R5 and V5R1.




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.