JDA WMS — Dealing with Large Trace Files

Ali Ahmed
2 min readNov 8, 2019

--

As a RedPrairie/JDA WMS Developer, part of the job description is to trace events, processes (including commands and queries) to identify what needs to be corrected, in order to code fix or correct data — based on the issue client is facing.

A lot many times, a trace file is too big to be downloaded directly from clients like JDA SCE Client, Oracular MOCA Client or LextEdit. The best way is to either use MOCA Console > Log Files to download large trace files, which can be anywhere from over a couple of hundred MBs to over a gigabyte.

MOCA Console > Log Files

The other alternative is to use a MOCA script to zip (compress) the log files and then download on your PC and then use Oracular MOCA Client to Parse the log file.

But what if you need to email log files to another resource? Or if you use JDA WMS and need to email a trace file to a vendor?

You can easily zip the log files using the code below:

Compress Log Files using MOCA Client

Why stop there? You can also use MOCA Client to send emails directly to a colleague, a vendor or whoever you want to share it with, here’s a screenshot to show you how.

You can save these scripts in Oracular MOCA Client under Scripts > Local Commands and use them later, especially if you feel the need to reuse a particular script every now and then.

Send Email command using MOCA Client

--

--

Ali Ahmed

I am an experienced IT Consultant who has a knack to solve complex problems. Want to connect? Reach out to me on: http://www.linkedin.com/in/ali-ahmed-jdawms