× 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.




....................
'SPLNBR(' + %trim(%editc(pSPLNBR:'Z')) + ')'
.................................
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of DLee@xxxxxxxx
Sent: Friday, April 02, 2010 2:26 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re:QCMDEXEC Command

Hi

I know I should know this, but there is something I'm not seeing.

Hopefully someone can see what I'm doing wrong.

Field pSPLNBR is a numeric field, and when I prompt it in debug, it shows
me the numeric data. but when I let it display in the comand, all I see is
the field name.
I probably need to do something different because it's numeric, but I
don't know what. The other fields are alpha, and display correctly in
the command, because they represent alpha fields.

These are all fields that relate to spoolfile parameters, except PDFPATH and
PDFNAME.

CmdString = %Trimr(CmdString) +
'?PDF010 FILE(' + %Trimr(SSplfName) +
') JOB(' + %Trimr(SJObName) + ')' +
' SPUSR(' + %Trimr(SUserName) + ')' +
' SPJOB#(' + %Trimr(SJOb#) + ')' +
' SPLNBR(pSPLNBR) ' +
' PDFPATH(' + ''''+ %Trimr(spnetfdr)+ ''''+')' +
' PDFNAME(' + %Trimr(SSplfName) + ')';

Callp(e) Cmds(CmdString:2000);

Regards,



SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

Visit our website at www.swbc.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.