You can also use the following cmd's within a CL pgm to retrieve a file's size:
RTVMBRD NBRCURRCD(&NOREC) will give you no. of records
RTVMBRD DTASPCSIZ(&SIZE) will give the data space size
RTVMBRD ACCPTHSIZ(&SIZE) will give the access path size
I have included below an example of how to code a Maxicode barcode in the output specs in RPG. The field lengths can be worked out from their respective end posns.
This has been specifically coded for an Eltron Orion Thermal label printer but can be adapted for other makes/models.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.