I've been trying to use ADDRESS OPSDYNAM INFO DD(ddname) to find a datsets recordsize.
Acc to doc it should return variable OPSAVGREC , but whatever I use as input allocated on ddname, that variable is always blank.
Tried all kinds of datasets: dsorg PO//PO-E/PS/HFS/VS , recfm FB/FBA/F/V/VB/VBA/U but all return blank in OPSAVGREC
Other variables are correct (opsifcd';'opsercd';'opsmscd';'opsdsn';'opsdsorg';'opsvol';'opsmember';'opsdisp';'opsstorclas';'opsmgmtclas';'opsdataclas)
(OPSDSNTYPE only contains a value for HFS and PDSE btw, I'd expect at least SEQ, PDS or VSAM for those)
SO is this a bug or does it only work on a dataset type I did not try?
I figured to ask here before creating a case ;)
Marcel van Ek
Try putting INFO DD(ddname) in quotes "INFO DD(ddname)"
HI Marcel, for the OPSDSNTYPE questions... Use the OPSDSORG variable.. This will deliver you the required value possibly.. RegardsHennie Hermans
Sofar I've not seen a useful solution.. the quotes were there, OPSDSORG is not feasible.
Still no useful answer, So I think I'll just create an issue for this....