|
A possible solution to the 250 libraries crashes
the v5r1 rtvjoba cmd problem:
The cpp of RtvJoba is QCLRTVJA.
The 21st parm of this pgm is the UsrLibl.
Based on the value that is passed in parm 21 of the cpp, it
looks like RtvJoba is using Vary(*Yes) and PassAtr(*Yes) for the UsrLibl
parm.
When I dup the RtvJoba cmd as TRtvJoba and write my own cpp,
bytes 2 - 3 of parm 21 contain the lgth of the cl variable spcfd when the cmd is
called.
The possible solution then is:
Write your own cpp for the RtvJoba
cmd.
Change the cpp of the RtvJoba cmd to be your cpp.
This cpp will pass everything it receives onto the real cpp,
QCLRTVJA, and then pass back what is returned to the RtvJoba cmd.
The one exception is parm 21. A variable large enough
for 250 libraries is passed onto QCLRTVJA. When passing the return value back to
the caller, look at the vary lgth ( bytes 2 - 3 ). Only pass back up to
the lgth of this value.
Steve Richter
|
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.