Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Former Member Absent Member.
Absent Member.
446 views

[archive] Ejecutar Comando atravez de un programa

[Migrated content. Thread originally posted on 12 September 2007]

estoy tratando de ejecutar este comando desde un programa cobol, pero tengo los siguitentes inconvenientes al hacerlo.
En el SO UBUNTU el comando se intenta ejecutar pero da el siguiente error,
sh no se esta redireccionando a un lugar inexistente.
y en SO SUSE el comando se ejecuta normalmente sin dar ningun error pero no devuelve nada.

este es el comando.

/usr/bin/nc -w 3 ip 10550 << repuesta.txt

gracias anticipadas
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.