Those 4 bytes must contain:
A 4-byte binary integer (X'00000001' (binary)) specifying the relative
character position (1-based) of the parameter in error within the command
string.
If (and only if) that value is valid, the command analyzer positions the
cursor and highlights the field - exactly like IBM's own CPD0071 / CPD0084
behaviour.
Cheers
Don
Â
Don Brown
Senior Consultant
Â
[1]OneTeam IT Pty Ltd
P: 1300 088 400
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
David Gibbs via MIDRANGE-L
Sent: Wednesday, 4 February 2026 1:33 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: Highlighting command parm in error in command validation program?
Folks:
For many years I've wanted to be able to highlight the field in error when
using a command validation program (like IBM does).
I've always thought it was related to the first 4 bytes of the message
data (that IBM says should be '0000') in the *diag message sent to report
the error, but no matter what value I put there it doesn't do what I want
(I've tried '0001', '0002', & 1 or 2 in binary).
IBM seems to send the relative field position, in binary, with messages
like CPD0071 (parameter xyz is required).
Is there a way to do this?
TIA
david
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: [2]
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[3]
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
[4]
https://www.mailguard.com.au
References
Visible links
1.
https://www.oneteamit.com.au/
2.
https://lists.midrange.com/mailman/listinfo/midrange-l
3.
https://archive.midrange.com/midrange-l.
4.
https://www.mailguard.com.au/
As an Amazon Associate we earn from qualifying purchases.