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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Ø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=Ø8; /*error ! */<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 />
/**/<br />
PUT SKIP LIST('TEST@ DBF2UC ENCODE LEN > 255 ');<br />
ALLOC WA_WORK CHAR(WA_WORK_LEN);<br />
WA_WORK='';<br />
FPBFCODE=FPBFENC;<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(3ØØ);<br />
ALLOCATE<br />
Ø1 FVD,<br />
Ø2 FPVDHD,<br />
Ø3 FPVDTYPE ,<br />
Ø3 FPVDVLEN ,<br />
Ø2 FPVDVALE CHAR(3ØØ);<br />
CVD.FPVDTYPE=FPVDTCHR;<br />
CVD.FPVDVLEN=3ØØ;<br />
DO LOPER=1 TO CVD.FPVDVLEN;<br />
SUBSTR(CVD.FPVDVALE,LOPER,1)=LOPER_CHARS(2);<br />
END;<br />
FVD.FPVDTYPE=FPVDTCHR;<br />
FVD.FPVDVLEN=CVD.FPVDVLEN;<br />
FVD.FPVDVALE='';<br />
CALL DBF2UC(WA_DEF,FPIB,CVD,FVD,FPPVL);<br />
MYRC=PLIRETV();<br />
PUT SKIP DATA(MYRC);<br />
30<br />
© 1999. Xephon UK telephone 01635 33848, fax 01635 38345. USA telephone (940) 455 7050, fax (940) 455 2492.