24.12.2012 Views

DB2 catalog statistics update REXX EXEC – part 2 This ... - CBT Tape

DB2 catalog statistics update REXX EXEC – part 2 This ... - CBT Tape

DB2 catalog statistics update REXX EXEC – part 2 This ... - CBT Tape

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.

**/<br />

PUT SKIP LIST('TEST@ DBF2UC DECODE');<br />

ALLOC WA_WORK CHAR(WA_WORK_LEN);<br />

WA_WORK='';<br />

FPBFCODE=FPBFdec;<br />

FPBWKLN=WA_WORK_LEN;<br />

FPBTOKP=SYSNULL;<br />

ALLOCATE<br />

Ø1 CVD,<br />

Ø2 FPVDHD,<br />

Ø3 FPVDTYPE ,<br />

Ø3 FPVDVLEN ,<br />

Ø2 FPVDVALE CHAR(16);<br />

ALLOCATE<br />

Ø1 FVD,<br />

Ø2 FPVDHD,<br />

Ø3 FPVDTYPE ,<br />

Ø3 FPVDVLEN ,<br />

Ø2 FPVDVALE CHAR(16);<br />

fvD.FPVDTYPE=FPVDTCHR;<br />

fvd.FPVDVLEN=16;<br />

fvd.fpvdvale='abcdefghijklmnops';<br />

cvd.FPVDTYPE=FPVDTCHR;<br />

cvd.FPVDVLEN=16;<br />

cvd.fpvdvale='';<br />

CALL DBF2UC(WA_DEF,FPIB,CVD,FVD,FPPVL);<br />

MYRC=PLIRETV();<br />

PUT SKIP DATA(MYRC);<br />

IF FPBTOKP¬=SYSNULL THEN<br />

PUT SKIP EDIT('FPBTOK=',FPBTOK)(A);<br />

PUT SKIP DATA(FPIB);<br />

PUT SKIP DATA(cVD);<br />

FREE CVD;<br />

FREE FVD;<br />

FREE WA_WORK;<br />

PUT SKIP LIST('TEST@ DBF2UC DECODE END');<br />

/**/<br />

ALLOC WA_WORK CHAR(WA_WORK_LEN);<br />

WA_WORK='';<br />

FPBFCODE=FPBFdec;<br />

FPBWKLN=WA_WORK_LEN;<br />

FPBTOKP=SYSNULL;<br />

ALLOCATE<br />

Ø1 CVD,<br />

Ø2 FPVDHD,<br />

Ø3 FPVDTYPE ,<br />

Ø3 FPVDVLEN ,<br />

Ø2 FPVDVALE CHAR(16);<br />

ALLOCATE<br />

Ø1 FVD,<br />

© 1999. Reproduction prohibited. Please inform Xephon of any infringement.<br />

29

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

Saved successfully!

Ooh no, something went wrong!