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



Right, remember the cmd string length does not necessary mean the same
thing as the number of characters in the field passed on the first
parameter. So it may be shorter than the command string is, in this
case.


> -------- Original Message --------
> Subject: RE: SNDDST not working from RPGIV(V5R2)
> From: fkany@xxxxxxxxxxxxxxxxxx
> Date: Wed, October 19, 2005 2:33 pm
> To: CN=RPG programming on the AS400/O=iSeries <rpg400-l@xxxxxxxxxxxx>
> 
> Yes, you are right, I am using QCMDEXC.  I did debug the program and
> printed out a screen shot of the command issued and manually typed it on
> the command line.  It worked fine on the command line, but am having a hard
> time figuring out why it will not work from RPGIV.  I'll debug it again and
> try what you said and check the command string and length.
> 
> 
> 
> 
> 
> cozzi@xxxxxxxxx@midrange.com on 10/19/2005 02:24:26 PM
> 
> Please respond to RPG programming on the AS400 / iSeries
>        <rpg400-l@xxxxxxxxxxxx>
> 
> Sent by:    rpg400-l-bounces@xxxxxxxxxxxx
> 
> 
> To:    RPG programming on the AS400/iSeries <rpg400-l@xxxxxxxxxxxx>
> cc:
> 
> Subject:    RE: SNDDST not working from RPGIV(V5R2)
> 
> 
> You obviously mean that you're calling it from RPG IV using QCMDEXC or
> system(), right?
> If so, check the cmd string before calling QCMDEXC or system() and see
> if the full command is represented.
> Odds are the string is longer than the API is being told and the extra
> stuff that is missing is not causing an error--so it may be at a clean
> break.  In any event, try using DEBUG to view the field containing the
> CMD string and the length value as well.
> 
> -Bob Cozzi
> 
> 
> > -------- Original Message --------
> > Subject: SNDDST not working from RPGIV(V5R2)
> > From: fkany@xxxxxxxxxxxxxxxxxx
> > Date: Wed, October 19, 2005 1:41 pm
> > To: rpg400-l@xxxxxxxxxxxx
> >
> > Hello,
> >
> > SNDDST is not working from RPGIV.  When I type the same SNDDST command
> > manually on the command line, it works.  In debug there are no errors, it
> > just says "Send distribution completed successfully."
> >
> > Any ideas of what could be happening?
> >
> > Thanks,
> >
> > Frank
> >
> >
> 
> 
> -- 
> This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.