Itschak

This is an interesting problem. I haven't done this but I have - tried to - 
read 
up on how it is done - and it's not easy!

Incidentally:

1. You should really be asking in the IBMTCP-L list since that's where this 
sort 
of expertise mainly resides:

<post tail>

For IBMTCP-L subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBMTCP-L

</post tail>

2. You (and also Phil Kingston) are interrupting my efforts getting a rather 
long 
response ready for your friend/colleague Matan regarding connecting EE and 
HIS - just so he can detect that I am still working on it!

> "PCSTLNET009 - The specified LU name is not known to the server"

This indicates a failure in the sort of exchange described by the following 
example near the end of RFC 2355:

<quote>

The following example shows a TN3270E-capable server and a TN3270E-
capable client establishing a printer session where the client requests a 
specific device-name, and where some amount of 3270 function negotiation is 
required before an agreement is reached:

Server:  IAC DO TN3270E
Client:  IAC WILL TN3270E
Server:  IAC SB TN3270E SEND DEVICE-TYPE IAC SE
Client:  IAC SB TN3270E DEVICE-TYPE REQUEST IBM-3287-1 CONNECT myprt 
IAC SE
Server:  IAC SB TN3270E DEVICE-TYPE IS IBM-3287-1 CONNECT myprt IAC SE
Client:  IAC SB TN3270E FUNCTIONS REQUEST DATA-STREAM-CTL IAC
Server:  IAC SB TN3270E FUNCTIONS REQUEST DATA-STREAM-CTL 
RESPONSES IAC SE
Client:  IAC SB TN3270E FUNCTIONS REQUEST DATA-STREAM-CTL IAC
Server:  IAC SB TN3270E FUNCTIONS IS DATA-STREAM-CTL IAC SE
(3270 data stream is exchanged)

</quote>

The following is what works when you try using a "display" - note confusingly 
called "terminal" in the RFC and also Communications Server manuals:

<quote>

The following example shows a TN3270E-capable server and a TN3270E-
capable client establishing a generic pool (non-specific) terminal session:

Server:  IAC DO TN3270E
Client:  IAC WILL TN3270E
Server:  IAC SB TN3270E SEND DEVICE-TYPE IAC SE
Client:  IAC SB TN3270E DEVICE-TYPE REQUEST IBM-3278-2 IAC SE
Server:  IAC SB TN3270E DEVICE-TYPE IS IBM-3278-2 CONNECT anyterm IAC 
SE
Client:  IAC SB TN3270E FUNCTIONS REQUEST RESPONSES IAC SE
Server:  IAC SB TN3270E FUNCTIONS IS RESPONSES IAC SE
(3270 data stream is exchanged)

</quote>

You haven't given any details of your TN3270E server PROFILE statements. I 
expect that your "display" connection is allocated an LU name - corresponding 
to a VTAM APPL statement - from the old DEFAULTLUS pool as the easiest 
way of doing it.

Although the manual descriptions are tortuous in the extreme, I believe 
your "printer" connection, because you have specified a so-called "LU name", 
will be regarded as "specific" rather than "generic" - as well as because it's 
a "printer" connection - cannot be allocated an LU name from the DEFAULTLUS 
pool. I believe, in the absence of those fancy mapping statements, that you 
need ultimately to have the LU name for the "printer" connection allocated 
from the DEFAULTPRTSPEC pool:

<quote>

Use the optional DEFAULTPRTSPEC or SDEFAULTPRTSPEC object and mapping 
statements to define a list or range of printer LUs with a default mapping to 
the NULL client identifier. This LU pool is be used by a printer emulator 
requesting a specific connection if no other printer LU group maps specifically 
or generically to the client.

</quote>

Try DEFAULTPRTSPEC prtlu ENDDEFAULTPRTSPEC where "prtlu" is the APPL 
name you hope to use for your printer.

I think an alternative could be not to specify a so-called "LU name" in PCOMM 
and use the following statement:

DEFAULTPRT prtlu ENDDEFAULTPRT

<quote>

Use the optional DEFAULTPRT or SDEFAULTPRT object and mapping 
statements to define a list or range of printer LUs that have a default mapping 
to the NULL client identifier. This LU pool is used by a printer emulator that 
is 
requesting a generic connection if no other printer LU group maps to the client.

</quote>

I guess I need to go through the text in the CS IP Configuration Guide and the 
CS IP Configuration Reference yet again to be sure but I suspect that the so-
called "LU name" as specified in PCOMM is misleading.

I suspect the following: The so-called "LU name" is merely a name which is 
used in TN3270E negotiation between the client and the server as shown in 
RFC 2355. The CS TN3270E server statements will determine whether there is 
really any relationship between the so-called "LU name" and the VTAM LU 
names. It's significant that the "LU name" can be treated within the CS 
TN3270E server as the name of a group of LUs.

Do let us know how you get on so that there is an archive entry which 
explains how a TN3270E printer is set up, at least in the case of PCOMM.

Thank you.

Chris Mason

On Mon, 8 Mar 2010 15:47:12 +0200, Itschak Mugzach 
<[email protected]> wrote:

>I am trying to define a PCOM session as a printer to TN3270E. At PCOM I
>clicked "Session Parameters" and Taged PRINTER instead of DIsplay. I then
>clicked OK and again, on Link Parameters. I specified an IUP ADDR, LUNAME
>and PORET. When I try to connect, I get a gray screen whth the word QUIT 
on
>it and after some minutes, a dialog box saying "PCSTLNET009 - The spoecified
>LU name is not known to the server". The LU NAME is defined in the same
>member in VTAMLST as all other LU names defined to TN3270. If I switch 
fdrom
>PRINTER to DISPLAY in Session parameters, everything works fine. What am I
>missing in VTAM or TN3270 definitions?
>
>ITschak

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to