EGL Development User Group

EGL Development User Group

EGL Development User Group

The EGL Development User Group is dedicated to sharing news, knowledge, and insights regarding the EGL language and Business Developer product. Consisting of IBMers, HCL, and users, this community collaborates to advance the EGL ecosystem.

 View Only
  • 1.  runrmtcmd doesn't work to view a pdf file

    Posted 04/06/16 06:56 PM

    Hi all,

    I can runrmtcmd to do a several pc commands like 'dir c:\', like invoking a java program but when i try to view a pdf file or open a word document nothing happens.

     

    I just get a spool file saying something like "the remote command didn't produce any output" 

     

    If i put the command inside a batch file nothing happens and the spool file prints the exact command tha t is inside the .bat file.

     

    I tried with start and nothing

     

    I tried in pcs with windows10, v6r1, ibm i client access 7

     

    Anyone experienced the same?

     

    thanks

    JDinis

    joao dinis


  • 2.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/08/16 08:40 AM

    Hi,

    Are you using the EGL language to invoke the runrmtcmd from an EGL generated application?     If so, can you explain in more detail what you are trying to do from an EGL perspective.

     

    If this is a general Java/iSeries questions related to runremotecmd, then you might want to find a forum that is for that type of development.

     

    Mark

    markevans


  • 3.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/11/16 06:07 PM

    Hi 

    I can use both rpg400/rpgle or clp. I think this is a windows problem since i can nearly view de pdf or run notepad in a vista windows. In this case i have a pc message saying it can't dysplay a message; after clicking that error box i get the pdf, the notepad,etc.

    But windows 10 no chance.

    Thanks for replying

     

    joao dinis


  • 4.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/11/16 06:09 PM

    I'm working with rpg400, rpgle or clp (all in green).

    thanks for reply.

    joao dinis


  • 5.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/15/16 06:35 AM

    Hi,

    you could try this:

     

    1 step:

    STRPCO PCTA(*NO)

    2 step:

    STRPCCMD PCCMD('C:\KONFO.pdf') PAUSE(*yes)

     

     

    Kind regards!

    Marcel-D


  • 6.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/15/16 10:51 AM

    No, thanks!

    Sorry but I need the runrmtcmd to work, it is there, why isn't it running, better to ibm discontinue it; I'm aware of strpccmd, i know it works but that wasn't my goal.

    Anyway thanks for helping

     

    Regards,

    JDinis

    joao dinis


  • 7.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/15/16 12:16 PM

    Joao,

     

    This forum is for users of EGL, not native IBM i type items.  While there are IBM i knowledgeable folks who respond to forum questions like this one, you might be better off reaching out on a forum that is specifically for iSeries/IBM i coders or tools.

     

    Also, you could open a PMR.  I would assume you could open it against IBM i in general since they provide this command.

     

    take care.

     

    Mark

     

     

    markevans


  • 8.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/15/16 01:00 PM

    much obliged Mark. I'll do that.

    Thanks for reply.

    JoaoDinis

    joao dinis


  • 9.  Re: runrmtcmd doesn't work to view a pdf file

    Posted 04/11/16 02:11 AM

    What type of application are you building?

    Web application or  native green screen or something else?

    Bram_Callewaert