On 2012-06-26 13:49, Stefan wrote:
I've found this issue a long time ago and fixed it with the following 
workaround:

/* WSCON always throws rc 8 when a member has been opened in edit mode */
/* immediately before the WSCON service.                               */
/* So this sequence of commands is only for being on the safe side ;-) */

'ISPEXEC VGET ZWSCON SHARED'
zedlmsg = ''
zedsmsg = ''
'ISPEXEC CONTROL DISPLAY LOCK'
'ISPEXEC DISPLAY MSG(ISRZ000)'
if SYSVAR('SYSENV') = 'FORE' then cdcs = ''
else cdcs = 'CODEPAGE(1141) CHARSET(0695)'
'ISPEXEC WSCON IP(IP) NOGUIDSP' cdcs

That solves the connection problem, thanks! How did you ever manage to track down what the problem was?

However, I'm not getting any further with the translation/(blank/empty) line
problem, although a tested very Q&D solution for second part of this problem is to insert "<!-- -->" html comments, or worse, to use an FB data set, which wastes even more space.

For the translate I will have to dig deeper, what works for me may not necessarily work for someone on another code page and that would be not something you want to put in code for general release.

In essence, I need a way that guarantees me that, as a minimum, the '!', '[' and ']' characters, whatever they may be displayed like on z/OS (and here with

ZTERMCID S N 01047
ZTERMCP  S N 1047
ZTERMCP5 S N 01047
ZTERMCS  S N 0697
ZTERMCS5 S N 00697

they actually display as '!', '[' and ']') end up as '!' (ASCII 33), '[' (ASCII 91) and ']' (ASCII 93) on the PC. If anyone could tell me how to do just that, they would make me a very happy bunny!

FWIW, standard FTP between the z/OS and PC works OK here, but the IPSF FILEXFER service apparently uses another translate table (Which?? Where??)

Robert
--
Robert AH Prins
robert(a)prino(d)org

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

Reply via email to