MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2014

RE: CLP pgm with 2 paramters intermittently getting garbage when called from AJS



fixed

Wow, that long ago? I remember a huge sigh of relief when the CMD paramter was introduced. Building that RQSDTA string was a royal pain.



Date: Thu, 10 Apr 2014 10:34:58 -0500
From: vhamberg@xxxxxxxxxxxxxxx
To: midrange-l@xxxxxxxxxxxx
Subject: Re: CLP pgm with 2 paramters intermittently getting garbage when called from AJS

I dug into the v3r2 library - SBMJOB had the CMD parameter then. I don't
have documentation from before that.

Here's a link to an article on this -

http://www.itjungle.com/mgo/mgo121102-readers.html

Contents of the CMD parameter are processed by the command processor -
contents of RQSDTA are put on the job's message queue - no
pre-processing, I assume.

Default for RQSDTA is *CMD, and - again, I assume - the CMD contents
have been pre-processed - trailing blanks stripped, as I recall, etc.

Vern

On 4/10/2014 9:34 AM, Ken Sims wrote:
Hi Rob -

On Thu, 10 Apr 2014 07:21:49 -0400, rob@xxxxxxxxx wrote:

When you think about it I can't see why it wouldn't have the same issue.
I use the CMD parameter myself, but I've heard from others (probably
on this list) that RQSDTA does *not* have the same issue.

The SBMJOB issue is not exactly the same as the command line CALL
issue.

For the command line call, if you specify the trailing blanks you're
good.

For SBMJOB, any trailing blanks are truncated down to 32 bytes when
the command is stored in the job queue job entry.

My understanding is that this truncation takes place only for the CMD
parameter, and that the RQSDTA parameter is placed in the job queue
job entry *exactly* as specified.

Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact