i will explain my problem :
i have 2 CLP/400 programs, the first CLP1 who calls the second CLP2 by submitting it, and passing to him 35 parameters, for a total size of 1830 bytes (the largest parm is 256 char long), all parms are char defined.
CHGVAR &P1 'toto'
CHGVAR &P2 'titi'
CHGVAR &P35 'tata'
SBMJOB CMD(CALL CLP2 PARM(&P1 &P2 &P3 ... &P35))
PGM (all my 35 parms)
parms are strictly the same, same number, same picture
but when CLP2 received these 35 parms, the last 7 parms contains wrong data (it seems to be memory contain), in fact something different than value the CLP1 passed to him !!?
the 29 first parms are well passed, but why the next one not ?
i made the test by calling CLP2 directly, by not submitting it, and it worked fine, the problem seems to be with the SBMJOB cmd...
if someone could help me ?
thanx for advance
October 26, 2005 6:23 AM
November 16, 2009 8:15 AM