Gerhard

This is not your everyday stuff, I expect - from the perspective of 3270
data stream programming writing.

I may have known about the possibility to use Write Structured Field (WSF)
actually to set presentation space dimensions - and much more - once but I
have to confess to having forgotten all about it when composing the post. A
quick dip into the manual found "Create Partition" among the outbound
structured fields so I suppose that is what you were using. Now you remind
me, this sort of stuff was being talked about a lot when GDDM was getting
started with all the clever possibilities that came in with graphics and the
like on devices like the 3279. I'm afraid I never got beyond colour - I
guess that should be "color" - and highlighting at the character level.

What I was referring to is changing dimensions at the device or emulator so
that corresponds to your experience of having seen an 082B.

Actually I wonder if I might have given the wrong impression about this. It
is a general point that receiving a sense code is not always a "bad thing".
Not every "sense code" received has to result in session termination with an
error message full of hexadecimal. Some SNA protocols actually rely on
receiving sense codes in order to direct the program flow. Thus receiving a
sense code indicating a change of presentation space could be taken in a
program's stride. If, say, an emulator could change the dimensions within a
session, an outbound request could be rejected with one of those sense
codes, the program could issue a "Read Partition Query" , discover the new
dimensions in the "Query Reply" and continue with the new presentation
space. That should be something interesting to try.

This talk of writing 3270 data stream programs and presentation space
alteration sense codes reminds me that I have a relatively trivial program
designed to give an impression of changing response times using the "Read
Buffer" function. I used switching to the SSCP-LU session with the SysRq
key, and thereby cause a negative response to be sent inbound, to be the
signal to stop the program.I think the sense code in that negative response
will be 082B.

Incidentally, the program worked fine from 1983 to 2001 but then refused to
work what I tried to use it on a customer's system in 2003. Clearly it is a
sound little program that just needs some TLC to get it running again.
Unfortunately I no longer have the wherewithal to play with this sort of
thing any more and, while working at that customer, I didn't have time for
the required investigation. If there's anyone still reading who does and
would be interested, please step forward.

Chris Mason

----- Original Message ----- 
From: "Gerhard Postpischil" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Tuesday, 29 August, 2006 5:35 AM
Subject: Re: >27x132?


> Chris Mason wrote:
> > Once within the SNA session, you are stuck with the dimensions
determined
> > when the session was started. If, somehow, the device or emulator
detects
> > that there has been a change of dimensions, a sense code is available to
> > warn the application that all is not as it should be, one of 082A, 082B
or
> > 084A.
>
> I have written and used applications communicating with 3290 and 3180
> terminals that change the screen dimensions on the fly, under user
> control, using an explicit partition WSF. This functions as expected
> using EXCP, local non-SNA, and SNA. The only problems I've ever run into
> were with ISV software that mis-handles buffer compression, etc.
>
> The only time I've ever run into a 082B was in our network solicitor,
> when a user was playing with the device.
>
> Gerhard Postpischil
> Bradford, VT

----------------------------------------------------------------------
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