× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dan said:

>There are no (explicit?) literals involved here.  All the 
>numerics are defined the same and all are the default 
>packed data type.  Does the SBMJOB "convert" 
>variables into implicit literals?

Because SBMJOB is a command line, there's no way to declare a type or size
there.  So, despite the fact that the CL program has a declared size/type,
it can't pass that information along to the command line.  So the command
line does the best job it can to figure it out by itself.  If it sees
numbers, it stores them into a packed 15/5 buffer.  If it sees
characters/mixed, it stores them in a 32 character buffer UNLESS there are
more than 32 non-blank characters passed in, in which case the buffer is
extended to the size of the characters passed in.

It's easier for me to understand if I think of all command lines as if I was
using QCMDEXC, and need to format a single command string to send to it.
  --buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.