10.07.2015 Views

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

1130 Commercial Subroutine Package - All about the IBM 1130 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The table of examples below illustrates how <strong>the</strong> EDIT routine works:Source Field Mask FieldResult00123D bb, bb$. bbCR bbb$12.34bb00123M bb, bb$. bbCR bbb$12.34CR00123M bb, bbS. bb- bbb$12.34-00123D bb, bbS. bb- bbb$12.34b46426723 b, bbb, bb$. bbCR b$464,267.23bb00200P b, bb*. bbCR ***20.07CR082267139 bbb-bb-bbbb 082-26-713901234567 bbbbS. bb CR **********0AB1234 bbbbb$. bbCR b$AB12.34bb-12345 bb, bb$. bb- $-,123,45bBecause <strong>the</strong> mask field is destroyed after each use, it is advisable to move <strong>the</strong> maskfield to <strong>the</strong> output area and perform <strong>the</strong> edit function in <strong>the</strong> output area.Errors: If <strong>the</strong> number of characters in <strong>the</strong> source field is greater than <strong>the</strong> number ofblanks in <strong>the</strong> mask field, <strong>the</strong> mask field is filled with asterisks(*).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!