Skip to content

Instantly share code, notes, and snippets.

@covener
Last active May 14, 2024 17:57
Show Gist options
  • Save covener/4a5db71a93fc29759276158e48bda033 to your computer and use it in GitHub Desktop.
Save covener/4a5db71a93fc29759276158e48bda033 to your computer and use it in GitHub Desktop.
  1. Go to the publish dir and find logs.zip (different then logs/ directory) and download it to your laptop.
  2. Extract the logs.zip
  3. The logs are in EBCDIC so you can't immediately cat/edit/grep through them. You can grab e2a binaries/source from https://github.ibm.com/WASL3/ecurep-btrace/tree/master/tools/e2a to use on your VM or laptop.
  4. Start by checking makezos.5.log and look for compile or link errors (WARNINGS probably n/a)
  5. For example: $ e2a makezos.5.log|grep plugins.http
    boss_c -Wc,EXPO,NOANS,CSECT,NOSOURCE,NOSHOWINC,NOEXP,NODIGRAPH,NOINFO,LIST(ZNATV/ws/code/plugins.http/src/common/ws_server.clst),NOXREF,LANGLVL(EXTENDED),NOTEST(NOHOOK),FLOAT(IEEE,MAF),HGPR,ARCH(5),TUNE(8),TARGET(ZOSV1R12),XPLINK(STOREARGS),dll,INLINE(AUTO,1000,8000),-Wc,dll,GONUM,,SERVICE(20240513150715508.00(ws_server)), -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_OPEN_SYS -D_OPEN_THREADS -D_POSIX_SOURCE -D_ISOC99_SOURCE -2 -V -c -oZNATV/ws/code/plugins.http/src/common/ws_server.o -Wc,dll,NOXPLINK -DAIX -D_OE_ -DEBCDIC_OS -D_OE_SOCKETS -D_NO_PROTO -D_OPEN_THREADS -D_ALL_SOURCE -D_SANITIZE_J_PASSWORD_ -D_UNIX_PTHREADS -D_POSIX_C_SOURCE -DJNI -DAIX -D_OE_ -DEBCDIC_OS -IZNATV/ws/code/plugins.http/src/common -IZNATV/ws/code/plugins.http/src/common/http -IZNATV/ws/code/plugins.http/src/common/esi -D_ZOS=1 ZNATV/ws/code/plugins.http/src/common/ws_server.c
     WARNING CCN0464 ./ZNATV/ws/code/plugins.http/src/common/ws_server.c:0     "INLINE" requires exactly "4" sub-option(s) to be specified. "3" were given.
     WARNING CCN0049 ./ZNATV/ws/code/plugins.http/src/common/ws_server.c:0     The option "-WC" is not supported.
     ERROR CCN3046 ./ZNATV/ws/code/plugins.http/src/common/ws_server.c:444   Syntax error.
     ERROR CCN3046 ./ZNATV/ws/code/plugins.http/src/common/ws_server.c:468   Syntax error.
     CCN0793(I) Compilation failed for file ./ZNATV/ws/code/plugins.http/src/common/ws_server.c.  Object file not created.
     FSUM3017 Could not compile ZNATV/ws/code/plugins.http/src/common/ws_server.c. Correct the errors and try again.
     Compile for ZNATV/ws/code/plugins.http/src/common/ws_server.c failed with return code 3!
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment