I am trying to display massages on ISPF panel, however the massage is not getting displayed. I have checked the library concatination, and it is fine. Here is my panle code:
)PROC
&PFKEY = .PFKEY
&ZSEL=TRANS(TRUNC(&ZCMD,'.')
X,'PANEL(PAN11) NEWAPPL'
CAN,'PANEL(PAN11) NEWAPPL'
' ',' '
*,'?')
IF ( &ZCMD = ' ' )
VER(&XSUBSYS,NONBLANK,LISTV,&SBSYSLST,MSG=GCCMP001)
VER(&XCRTRID,NONBLANK,MSG=400)
VER(&XTBLNME,NONBLANK,MSG=500)
VER(&XINPFLE,NONBLANK,DSNAME)
VER(&XOTPFLE,NONBLANK,DSNAME)
IF (&ZSYSID = 'F01' AND &XSUBSYS = 'DBF1' OR
&ZSYSID = 'VIL' AND &XSUBSYS = 'DBCD' OR
&ZSYSID = 'B01' AND &XSUBSYS = 'DBFO' OR
&ZSYSID = 'B02' AND &XSUBSYS = 'DBFU' OR
&ZSYSID = 'B04' AND &XSUBSYS = 'DBFA')
*REXX(XSUBSYS,XCRTRID,XTBLNME,SQLRTCD,(REXX2))
ELSE
.MSG=301
VPUT (SQLRTCD) PROFILE
IF (&SQLRTCD = 1)
.MSG = 1001
ELSE
IF (&SQLRTCD = 2)
.MSG = 1002
ELSE
.MSG = BCCMP004
*REXX(*,(REXX3))
)END
&PFKEY = .PFKEY
&ZSEL=TRANS(TRUNC(&ZCMD,'.')
X,'PANEL(PAN11) NEWAPPL'
CAN,'PANEL(PAN11) NEWAPPL'
' ',' '
*,'?')
IF ( &ZCMD = ' ' )
VER(&XSUBSYS,NONBLANK,LISTV,&SBSYSLST,MSG=GCCMP001)
VER(&XCRTRID,NONBLANK,MSG=400)
VER(&XTBLNME,NONBLANK,MSG=500)
VER(&XINPFLE,NONBLANK,DSNAME)
VER(&XOTPFLE,NONBLANK,DSNAME)
IF (&ZSYSID = 'F01' AND &XSUBSYS = 'DBF1' OR
&ZSYSID = 'VIL' AND &XSUBSYS = 'DBCD' OR
&ZSYSID = 'B01' AND &XSUBSYS = 'DBFO' OR
&ZSYSID = 'B02' AND &XSUBSYS = 'DBFU' OR
&ZSYSID = 'B04' AND &XSUBSYS = 'DBFA')
*REXX(XSUBSYS,XCRTRID,XTBLNME,SQLRTCD,(REXX2))
ELSE
.MSG=301
VPUT (SQLRTCD) PROFILE
IF (&SQLRTCD = 1)
.MSG = 1001
ELSE
IF (&SQLRTCD = 2)
.MSG = 1002
ELSE
.MSG = BCCMP004
*REXX(*,(REXX3))
)END
and the massage is defined as:
GS001 .WINDOW=NOLRESP .ALARM = YES
'DB2 SUBSYTEM CAN'T BE BLANK.'
BCCMP002 '' .WINDOW=NOLRESP .HELP=BCCOMPH .ALARM
'THIS MEMBER DOES NOT EXIST IN THE SOURCE LIBRARY SELECTED ' +
'BELOW. PLEASE SUPPLY A VALID COMBINATION OF SOURCE LIBRARY ' +
'AND MEMBER !'
BCCMP003 '' .WINDOW=NORESP .ALARM
'VALID VALUES ARE "&ENLIST" CORRECT AND PRESS ENTER TO TRY AGAIN'
BCCMP004 '' .WINDOW=NORESP .ALARM = YES
'SQL IS BEING GENERATED'
BCCMP005 '' .WINDOW=NOLRESP .HELP=BCCOMPH .ALARM
'THIS MEMBER DOES NOT EXIST IN THE SOURCE LIBRARY SELECTED ' +
'BELOW. PLEASE SUPPLY A VALID COMBINATION OF SOURCE LIBRARY ' +
'AND MEMBER !'
I want to display the massage associated with BCCMP004. But not getting the massage. I have tested the panel in 7.2 and getting results like this
---------------------- GENERATE INSERT QUERY -------------- Message BCCMP004
COMMAND ===>
INPUT :
DB2 SUBSYS ===>
CREATOR ID ===>
TABLE NAME ===>
INPUT FILE ===>
OUTPUT :
OUTPUT FILE ===>
SQL RT CODE ===>
PRESS ENTER TO PROCEED
PRESS END TO TERMINATE
COMMAND ===>
INPUT :
DB2 SUBSYS ===>
CREATOR ID ===>
TABLE NAME ===>
INPUT FILE ===>
OUTPUT :
OUTPUT FILE ===>
SQL RT CODE ===>
PRESS ENTER TO PROCEED
PRESS END TO TERMINATE
Please help me out to resolve this one.