Question about Voice language and Librarian
search cancel

Question about Voice language and Librarian

book

Article ID: 125002

calendar_today

Updated On:

Products

Vollie

Issue/Introduction



I executed the following action in my voice program.
The program receives the 'STRING' to find when executing and Vollie member.
%VOLSRCH READ VTUSSTAB

The below is a part of program using VOLLIE OLLFILE.
'LIST '@VAR2
@SW = 'N'
WHILE (@SW NE 'Y')
'POS /'@VAR1'/'
IF (S.RC EQ 0) THEN
BEGDATA OUTPUT=SRCHFOR#
@VAR2' Line 'LPAD(S.BUFFNUM,5)
END
ELSE @SW = 'Y'
ENDIF
ENDWHILE

The following is the result of #SRCHFOR.
VTUSSTAB Line 216
VTUSSTAB Line 285

But in the Librarian master case the command ‘DISPLAY’ is used on behalf of ‘LIST’ command.

'DIS '@VAR2
@SW = 'N'
WHILE (@SW NE 'Y')
'POS /'@VAR1'/'
IF (S.RC EQ 0) THEN
BEGDATA OUTPUT=SRCHFOR#
@VAR2' Line 'LPAD(S.BUFFNUM,5)
END
ELSE @SW = 'Y'
ENDIF
ENDWHILE

In this case I can’t ‘S.BUFFNUM’.
I know that ‘S.BUFFNUM’ Is belonging to 'CURRENTLY LISTED MEMBER VARIABLES'.
So what variable can I use in 'CURRENTLY DISPLAYED MEMBER VARIABLES'?

Environment

z/VSE any level
Vollie any level
Librarian any level

Resolution

Instead of S.BUFFNUM
 
You should use
 
S.SHOWNUM