Topic
  • 3 replies
  • Latest Post - ‏2013-03-26T10:28:52Z by SystemAdmin
SystemAdmin
SystemAdmin
8523 Posts

Pinned topic How do I view the contents of files AMQERRO1.log

‏2013-03-25T21:16:22Z |
Good evening, folks.
How do I view the contents of files AMQERRO1.log, AMQERRO2.log and AMQERRO3.log.
What tool use to view the contents and messages contained in those files?
Thank you.
Updated on 2013-03-26T10:28:52Z at 2013-03-26T10:28:52Z by SystemAdmin
  • Sergio Pires
    Sergio Pires
    2 Posts

    Re: How do I view the contents of files AMQERRO1.log

    ‏2013-03-25T23:45:21Z  
    Hi,

    For which platform this file comes? On distributed systems they are text files, normal activity logs.

    :)
  • SystemAdmin
    SystemAdmin
    8523 Posts

    Re: How do I view the contents of files AMQERRO1.log

    ‏2013-03-26T02:05:32Z  
    You attachment does not seem to be a valid AMQERR01.LOG, it should be a plain ASCII
    text file as used on UNIX and Windows platforms.

    It almost looks like fixed length EBCDIC records. Where did you get it from?

    G.
  • SystemAdmin
    SystemAdmin
    8523 Posts

    Re: How do I view the contents of files AMQERRO1.log

    ‏2013-03-26T10:28:52Z  
    You attachment does not seem to be a valid AMQERR01.LOG, it should be a plain ASCII
    text file as used on UNIX and Windows platforms.

    It almost looks like fixed length EBCDIC records. Where did you get it from?

    G.
    I agree with Glenn - it is EBCDIC. It does appear to be an AMQERR01.LOG in EBCDIC. I decoded the first record and ended up with this (doesn't seem to have completely decoded correctly but enough to see hints of the format of an AMQERR01.LOG).

    25/03/13 06.59.31 - Process(379429.1) User(QMQM) Jobname(095155/QMQM/AMQZ
    LAA0 ).AMQ7163. Se ha iniciado F840F9F3F4F0C1F3F9F94B
    para BFE.TELLER. ..EXPLICACI.N. .. Causa . . . . . . EL PID del traba
    jo es 379429 el CCSID es 284. E. nom4B
    095155/QMQM/AMQZLAA0. . Recuperaci.n . . Ninguna. . .--------
    --------------------------------F6BFF6F0F6F0F6F0F6F0

    Given that it is in EBCDIC and it has user QMQM - I suspect it is from an IBM i platform (iSeries / AS/400 or however you prefer to refer to it).

    If you are ftp-ing to another platform to view or send to someone, remember to do so in text mode not binary mode.

    If you are viewing it on the IBM i platform, you should be able to use the native CL command DSPF.

    Cheers
    Morag