BPXWDYN is IBM supplied utility. The main use of it is we can dynamically allocate a file in the COBOL/PLi program.
01 WS-TEXT PIC X(55) VALUE
“ALLOC FI(OUT) DS(‘WORK.TAPE’) NEW KEEP UNIT(TAPE) REUSE”
CALL BPXWDYN USING WS-TEXT.
After calling this program, then the said file will be allocated.
- Cobol-Data Challenges(1 of 2) (srinimf.com)
- DB2-Calling Cobol,C,Java Programs from Stored Proc (srinimf.com)
- Db2-How to Access CICS from Db2 Stored Proc? (srinimf.com)