I had to add the -B to prevent “head” from doing autoconvert on the file.

-bash-4.3# iconv -f ISO8859-1 -t IBM-1047 trace_large.log | head -B
********************************************************************************
product = WAS FOR Z/OS 21.0.0.12, z/OS Connect EE Unlimited 03.00.53 (wlp-1.0.59.cl211220211117-1256)
wlp.install.dir = /usr/lpp/IBM/zosconnect/v3r0/wlp/
server.config.dir = /var/zosconnect/servers/zceesrv/
java.home = /usr/lpp/java/J8.0_64
java.version = 1.8.0_311
java.runtime = Java(TM) SE Runtime Environment (8.0.7.0 - pmz6480sr7-20211025_01(SR7))
os = z/OS (02.04.00; s390x) (en_US)
process = 33555325@A02AGF
trace.specification = *=info:SSL=all:SSLChannel=all:com.ibm.ws.security.*=all:com.ibm.zosconnect.wv*=FINEST:zosConnect=all:zosConnectApiRequester=all:
zosConnectSaf=all
CEE5213S The signal SIGPIPE was received.

I ran:
 iconv -f ISO8859-1 -t IBM-1047 trace_large.log > trace_large.log.IBM1047

Then did a browse on the IBM1047 file and it worked.  When I tried Edit I got:

   The z/OS UNIX file contains a record with a length greater than 32750.
   Records of this size are not supported by the ISPF editor.

I may open an issue with IBM.   I still think that ISPF 3.4, when doing a VA and the file is too large, should substitute BA (I know BA doesn’t exist, but should!).  Substituting “browse” for “edit” should be fine as long as it takes into account the filetag/codepage/etc.

On 4/12/2022 10:33 AM, Paul Gilmartin wrote:
On Tue, 12 Apr 2022 10:13:45 -0500, Michael Babcock wrote:

-bash-4.3# ls -lTHE trace_large.log

t UTF-8       T=on  -rw-r-----  --s- ----   1 BPXROOT  SOFT1 20971432
Apr  8 07:40 trace_large.log

-bash-4.3# od -tx1 trace_large.log | head
0000000000    2A  2A  2A  2A  2A  2A 2A  2A  2A  2A  2A  2A  2A  2A  2A  2A
*
0000000120    0A  70  72  6F  64  75 63  74  20  3D  20  57  41  53  20  46
    ...
Looks like ASCII data, perhaps UTF-8, 20971432 bytes, starting with a line
of 80 asterisks.  What do you see with:
     iconv -f ISO8859-1 -t IBM-1047 trace_large.log | head


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to