![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS/ACCESS Interface to IMS-DL/I: Reference |
The IMS-DL/I DATA step interface supports the FLD and POS calls from a BMP region.
| FLD Call |
The following example issues a FLD call against an MSDB called INVNTORY:
ssa1='PRODUCT (PRODUCT = LOCKS )';
infile msdbpsb dli call=cfunc dbname=database
ssa=ssa1 fsarc=fsa_rc;
file msdbpsb dli;
cfunc = 'FLD ';
database = 'INVNTORY';
put @1 'QUANTITY H100*QUANTITY -100*ORDERS +1 ';
if _error_ then do;
file log;
if substr(fsa_rc,1,1) = 'D'
then put / '*** Quantity of Product Locks Less
Than 100 ***';
put _all_;
_error_=0;
end;
| POS Call |
The POS call is used with a DEDB to perform one of the following:
The SAS statements below execute a POS call for a DEDB called ORDERS:
retain ssa1 'PRODUCT (PRODUCT = LOCKS )';
infile dedbpsb dli call=cfunc dbname=database
ssa=ssa1;
cfunc = 'POS ';
database = 'ORDERS ';
input @3 areaname $char8.
@11 cycl_cnt $pib4.
@15 vsam_rba $pib4.;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.