|
From: Ken Mitchell <madmitch76@hotmail.com> > > DCL DD MATERIALIZE-AREA CHAR(2608) BDRY(16); > DCL SPCPTR .MACHINE-ATTR INIT(MATERIALIZE-AREA); > DCL SPC MACHINE-ATTR BAS(.MACHINE-ATTR); > DCL DD BYTES-PROVIDED BIN(4) DIR; > DCL DD BYTES-AVAILABLE BIN(4) DIR; > DCL DD VPD CHAR(28) DEF(MACHINE-ATTR) POS(9); <=== ! ! > DCL DD * CHAR(8) DIR; > DCL DD OFFMEMVPD BIN(4) DIR; mixing DEF POS and DIR is tricky. It only works if the byte position was actually increased by the DEF POS, which it is not in your case.
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.