Problem in Batch and Online putting Member

Discussion of Co:Z sftp, a port of OpenSSH sftp for z/OS
Post Reply
Shady
Posts: 37
Joined: Wed Feb 24, 2010 10:50 pm

Problem in Batch and Online putting Member

Post by Shady »

Hi.
We get an error when we use batch to run sftp.
With our customized job I got an error (but it worked some time ago). Now I copied your RUNSFTP sample job and entered my userid and the PWDSN.
In the out I get following problems:

Code: Select all

ZosSettingsÝE¨: Keyword mode value 'binary' does not match pattern '^(bin(ary)?!text)$'.  RC=1                          
ZosSettingsÝE¨: Keyword conddisp value 'catlg' does not match pattern '^(catlg!delete)$'.  RC=1                         
ZosSettingsÝE¨: Keyword overflow value 'wrap' does not match pattern '^(error!flow!trunc!wrap)$'.  RC=1                 
ZosSettingsÝE¨: Keyword linerule value 'flexible' does not match pattern '^(cr!crlf!crnl!lf!nl!rdw!ibmrdw!mfrdw!flexible
!none)$'.  RC=1                                                                                                         
ZosSettingsÝW¨: Invalid regular expression '^ÝÝ:alnum:¨Ö$Ö#Ö§Ö?Ö*¨ä1,8ü$' for keyword 'jesowner': (16) $ anchor not at  
end of pattern                                                                                                          
ZosSettingsÝE¨: Keyword jeslrecl value '80' does not match pattern '^ÝÝ:digit:¨¨ä1,5ü$'.  RC=1                          
ZosSettingsÝE¨: Keyword jesrecfm value 'f' does not match pattern '^(f!fb!v!vb)$'.  RC=1                                
ZosSettingsÝE¨: Keyword jesstatus value '*' does not match pattern '^(input!output!active!Ö*)$'.  RC=1                  
And the problem with WinSCP:
I get a Member and edited sth. and wanted to put it back into a PDS. After putting back there were just hieroglyphics in the member like...: Editing and entering "Hello World" ends in "çÁ%%? ï?Ê%À"
Could it be that there are problems with Codepage?

Putting "Hello World" in binary looks in ISPF like "çÁ%%? ï?Ê%À" Getting in binary shows the Hello "World" Getting the same in text looks like "çÁ%%?¤ï?Ê%À"
Putting "Hello World" in text looks in ISPF like "çÁ%%? ï?Ê%À". Getting in text shows the "Hello World" and getting in binary also shows "Hello World"

At the moment I'm a bit confused....

So you may can help me...

Co:Z 1.8.1 & Ported Tools 1.2

Greetings
Shady
dovetail
Site Admin
Posts: 2025
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

This definitely looks like an issue with z/OS Unix code page settings. It looks to me as if you have a non-Latin EBCDIC codepage set as the default for z/OS Unix. I know that we have several (many) German users, but I don't know for sure what they use for their default z/OS Unix encoding.

What do you have for "LANG" and "LC_*" environment variables?
(put a "env" command at the beginning of your shell script (the input to COZBATCH in this case).

Also, you will want to make sure that if you are using a TN3270 emulator that you also have the codepage set to match. This way, you will actually see brackets and braces.
Shady
Posts: 37
Joined: Wed Feb 24, 2010 10:50 pm

Post by Shady »

Oh... I was right with codpage thing and don't rememberd what I've done.

I set LC_ALL="De_DE.IBM-1141" in my /u/user/.profile for testing things some weeks ago and haven't remembered it.

Thank you for putting me into the right direction.
Post Reply