Joblog

Type: array of object

The schema for joblog.json generated by Bob

Each item of this array must be:

Type: object

The Joblogs for a single command


Example:

[
    {
        "cmd": "CRTBNDRPG srcstmf('/home/tongkun/bob-recursive-example/QRPGLESRC/ORD700.PGM.RPGLE') PGM(TONGKUN/ORD700) DBGVIEW(*ALL) TGTCCSID(*JOB) OPTION(*EVENTF) TEXT('') INCDIR(QPROTOSRC)",
        "cmd_time": "2022-04-18-07.38.48.176801000",
        "msgs": [
            {
                "msgid": "CPC2198",
                "type": "COMPLETION",
                "severity": 0,
                "message_time": "2022-04-18-07.38.47.679899",
                "message_text": "Current library changed to TONGKUN.",
                "second_level": "&N Cause . . . . . :   The current library in the library list was changed to TONGKUN.",
                "from_program": "QLICHLLE",
                "from_library": "QSYS",
                "from_instruction": "01A3",
                "to_program": "QP2USER2",
                "to_library": "QSYS",
                "to_module": "QP2API",
                "to_procedure": "runpase_common__FiPvT2",
                "to_instruction": "4"
            }
        ]
    }
]

Type: string

Example:

"CRTBNDRPG srcstmf('/home/tongkun/bob-recursive-example/QRPGLESRC/ORD700.PGM.RPGLE') PGM(TONGKUN/ORD700) DBGVIEW(*ALL) TGTCCSID(*JOB) OPTION(*EVENTF) TEXT('') INCDIR(QPROTOSRC)"

Type: string

Example:

"2022-04-18-07.38.48.176801000"

Type: array of object

Each item of this array must be:

Type: object

An explanation about the purpose of this instance.


Example:

[
    {
        "msgid": "CPC2198",
        "type": "COMPLETION",
        "severity": 0,
        "message_time": "2022-04-18-07.38.47.679899",
        "message_text": "Current library changed to TONGKUN.",
        "second_level": "&N Cause . . . . . :   The current library in the library list was changed to TONGKUN.",
        "from_program": "QLICHLLE",
        "from_library": "QSYS",
        "from_instruction": "01A3",
        "to_program": "QP2USER2",
        "to_library": "QSYS",
        "to_module": "QP2API",
        "to_procedure": "runpase_common__FiPvT2",
        "to_instruction": "4"
    }
]

Type: string

Example:

"CPC2198"

Type: string

Example:

"COMPLETION"

Type: enum (of integer) Default: 0

Must be one of:

  • 0
  • 10
  • 20
  • 30
  • 40
  • 50
  • 60
  • 70
  • 80
  • 90
  • 99

Example:

0

Type: string

Example:

"2022-04-18-07.38.47.679899"

Type: string

Example:

"Current library changed to TONGKUN."

Type: string

Example:

"&N Cause . . . . . :   The current library in the library list was changed to TONGKUN."

Type: string

Example:

"QLICHLLE"

Type: string

Example:

"QSYS"

Type: string

Example:

"01A3"

Type: string

Example:

"QP2USER2"

Type: string

Example:

"QSYS"

Type: string

Example:

"QP2API"

Type: string

Example:

"runpase_common__FiPvT2"

Type: string

Example:

"4"

Additional Properties of any type are allowed.

Type: object

Example:

[
    {
        "msgid": "CPC2198",
        "type": "COMPLETION",
        "severity": 0,
        "message_time": "2022-04-18-07.38.47.679899",
        "message_text": "Current library changed to TONGKUN.",
        "second_level": "&N Cause . . . . . :   The current library in the library list was changed to TONGKUN.",
        "from_program": "QLICHLLE",
        "from_library": "QSYS",
        "from_instruction": "01A3",
        "to_program": "QP2USER2",
        "to_library": "QSYS",
        "to_module": "QP2API",
        "to_procedure": "runpase_common__FiPvT2",
        "to_instruction": "4"
    },
    {
        "msgid": "CPC2196",
        "type": "COMPLETION",
        "severity": 0,
        "message_time": "2022-04-18-07.38.47.680368",
        "message_text": "Library TONGKUN added to library list.",
        "second_level": "&N Cause . . . . . :   If the ADDLIBLE command was used, TONGKUN was added to the user library list.  If the CHGSYSLIBL command was used, TONGKUN was added to the system portion of the library list.",
        "from_program": "QLICUSRL",
        "from_library": "QSYS",
        "from_instruction": "0114",
        "to_program": "QP2USER2",
        "to_library": "QSYS",
        "to_module": "QP2API",
        "to_procedure": "runpase_common__FiPvT2",
        "to_instruction": "4"
    }
]

Additional Properties of any type are allowed.

Type: object

Example:

[
    {
        "cmd": "CRTBNDRPG srcstmf('/home/tongkun/bob-recursive-example/QRPGLESRC/ORD700.PGM.RPGLE') PGM(TONGKUN/ORD700) DBGVIEW(*ALL) TGTCCSID(*JOB) OPTION(*EVENTF) TEXT('') INCDIR(QPROTOSRC)",
        "cmd_time": "2022-04-18-07.38.48.176801000",
        "msgs": [
            {
                "msgid": "CPC2198",
                "type": "COMPLETION",
                "severity": 0,
                "message_time": "2022-04-18-07.38.47.679899",
                "message_text": "Current library changed to TONGKUN.",
                "second_level": "&N Cause . . . . . :   The current library in the library list was changed to TONGKUN.",
                "from_program": "QLICHLLE",
                "from_library": "QSYS",
                "from_instruction": "01A3",
                "to_program": "QP2USER2",
                "to_library": "QSYS",
                "to_module": "QP2API",
                "to_procedure": "runpase_common__FiPvT2",
                "to_instruction": "4"
            }
        ]
    }
]