Since the session data field is longer than 8 characters, masking cannot be used for it.
The only way to specify a value for that field is to use the entire literal string(s) in the criteria.
- Enclose the value within single quotes when the value contains spaces or a special characters, for example '&userid/&pswd'.
Examples:
EXTRACT GIVING(EXTFIL4) USER AND MATCHING SESSIONS
( UENTDATA('&userid' '&userid/&pswd' ) )
SET RTITLE1
' USERID SessionID APPLID Session Data '
SET RTITLE2
' UIDXNAME UENTUSER UENTAPPL UENTDATA '
SET RTITLE3
' ======== ========= ======== ======================================'
REPORT GIVING(RPTFIL4) USING(EXTFIL4)
((' &UIDXNAME'
'&UENTUSER'
'&UENTAPPL'
'&UENTDATA '))This example with masking will not extract any records:
EXTRACT GIVING(EXTFIL2) USER AND MATCHING SESSIONS
( UENTDATA(--------))
SET RTITLE1
' USERID SessionID APPLID Session Data '
SET RTITLE2
' UIDXNAME UENTUSER UENTAPPL UENTDATA '
SET RTITLE3
' ======== ========= ======== ======================================'
REPORT GIVING(RPTFIL2) USING(EXTFIL2)
((' &UIDXNAME'
'&UENTUSER'
'&UENTAPPL'
'&UENTDATA '))