Using txr to extract information from output

am using txr command (txr 1097) on a process that generates the following output. Im trying to extract the 13th field from the highlighted string. it is delimited by '?'. The 13th field corresponds to the '0' (in bold). can you let me know how I can extract the 13 th field please?

Searching /live/midware/AL2/trace/trace.170210 for EDR=1097 any USER

1097 req 12:07:50 qid=30 pid=62 hdr=[ IVR~~11 IVR1001 02] F176!ACCNO/xxxxxxxxxxxxxx !ROLECDCNT/00000!PRDHLDRLCD/000!C.MORE/00000!LSTOCISPTY/0 !LSTPRDRLCD/0 !LSTPRODID/0 !LSTAMDEFDT/00000000!
1097 res 12:07:51 qid=23 0??0?2?163002?Channel Outlet Id invalid??0?????0???????????????????????????????????????0?????~

1097 req 12:19:35 qid=30 pid=62 hdr=[ IVR~~11 IVR1003 02] F176!ACCNO/xxxxxxxxxxxxxx !ROLECDCNT/00000!PRDHLDRLCD/000!C.MORE/00000!LSTOCISPTY/0 !LSTPRDRLCD/0 !LSTPRODID/0 !LSTAMDEFDT/00000000!
1097 res 12:19:35 qid=23 0??0?2?163002?Channel Outlet Id invalid??0?????0???????????????????????????????????????0?????~

Searched /live/midware/AL2/trace/trace.170210 for EDR 1097 any USER (31 lines)
2 requests
2 responses

Hi.

1) The txr command is not standard, so few people here probably will have had experience with it.

2) What have you tried so far -- what does your query look like?

3) Note that such tasks are easily done with awk and other commands.

4) Please use code tags around data and code: select the text and click the # above the editing box.

Best wishes ... cheers, drl