[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem passing parms to spawned job



   Hello everybody.
   I'm working with an aplication that needs to open several conections
   at the same time. For this reason i'm spawning jobs.
   Each job, teorically, will connect to a server and wait for a
   response(here's the HTTPAPI use).
   The problem i have is, that i'm receiving some parameters that
   contains null caracters(x'00') and i need to pass this parameters to
   the spawned jobs.
   Because only programs that expect arguments as null-terminated
   character strings can be spawned, looks like the spawn API just pass
   parameters with null-terminated caracters.
   So when the controller job pass the parameters stream to the child
   job,  with nulls within, the parameter arrives cutted off.
   I really need some ideas.
   Thank you all, but specially Scott, for this great set of tools.
   [1]Jairo Román Flores Salgado
   Informática BAC-COM Nicaragua
   CONFIDENTIALITY NOTICE: The information contained in this electronic
   message is privileged and confidential and is intended for the use of
   the individual(s) named above and others who have been specifically
   authorized to receive it. If you are not the intended recipient, you
   are hereby notified that any dissemination, distribution or copying of
   this message is strictly prohibited. If you have received this message
   by mistake, please destroy it immediately, and notify the sender.

References

   1. mailto:jfloress@xxxxxxxxxxxxxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------