D\

 

 

 

 

 

D\ Change Object Information parameter

 

 

D\

 

 

 

 

 

DCOBJI

DS

 

 

 

 

D NUMKEY

 

9B

ð INZ(3)

 

 

D KEY13

 

9B

ð INZ(13)

 

 

D LEN13

 

9B

ð INZ(4)

 

 

D PID13

 

4

 

 

 

D KEY12

 

9B

ð INZ(12)

 

 

D LEN12

 

9B

ð INZ(4)

 

 

D LID12

 

4

 

 

 

D KEY5

 

9B

ð INZ(5)

 

 

D LEN5

 

9B

ð INZ(13)

 

 

D LP5

 

13

 

 

 

D\

 

 

 

 

 

D\ Miscellaneous data

 

 

 

 

D\

 

 

 

 

 

DAPI_NAME

S

 

 

 

DFIRST_ERR

S

1

INZ('ð')

 

 

DPROD_ID

S

7

INZ('ðABCABC')

 

 

DPROD_NAME

S

INZ('ABCðð5ð

ABC

')

DRLS_LVL

S

6

INZ('V3R1Mð')

 

 

DNBR_OPTS

S

9B

ð INZ(1)

 

 

DNBR_LANGS

S

9B

ð INZ(1)

 

 

DTEXT_DESC

S

INZ('ABC Product')

 

DPUB_AUT

S

INZ('\USE')

 

 

DNBR_ADD_LB

S

9B

ð INZ(ð)

 

 

DNBR_PE

S

9B

ð INZ(1)

 

 

DNBR_FLDRS

S

9B

ð INZ(ð)

 

 

DOBJNAM

S

 

 

 

C\

 

 

 

 

 

C\ Beginning of Mainline C\

C\ Initialize the error code parameter. To signal exceptions to C\ this program by the API, you need to set the bytes provide￿d C\ field of the error code to zero. Because this program has

C\ exceptions sent back through the error code parameter, i￿t sets C\ the bytes provided field to the number of bytes it gives￿ the

C\ API for the parameter.

 

 

C\

 

 

 

C

EVAL

QUSBPRV = %SIZE(QUSEC)

C\

 

 

 

C\ Create Product Definition Object - ABCðð5ð

C\

 

 

 

C

EXSR

PRDDFN

.1/

C\

 

 

 

C\ Create Product Load Objects - ABCðð5ð (MRM) and ABCðð29 (MR￿I)

C\

 

 

 

C

EXSR

PRDLOD

.2/

C\

 

 

 

C\ Change Object Description for all objects associated w￿ith

C\ the ABC Product.

 

 

 

C\

 

 

 

C

EXSR

COBJD

.3/

C\

C\ Package the ABC Product so that all the SAVLICPGM, RSTLI￿BPGM, C\ and DLTLICPGM commands work with the product.

C\

Appendix B. Original Examples in Additional BLanguages-145

Page 423
Image 423
IBM Version 4 manual Dcobji Numkey, PID13 KEY12, LID12 KEY5, Dapiname Dfirsterr, Dprodid, Dprodname, ABC Drlslvl, Dnbropts