- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Invoking a executable with command line arguments
Operating System - HP-UX
1753930
Members
9887
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2006 07:20 PM
тАО05-26-2006 07:20 PM
Invoking a executable with command line arguments
On HP Unix 11i while calling COBOL executables with command line arguments is prefixing a tab before the first command line argument. The COBOL executables are called by system function call from C.
Suggest us how to ommit the prefixing of tab for the first command line argument.
Suggest us how to ommit the prefixing of tab for the first command line argument.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2006 02:41 AM
тАО05-27-2006 02:41 AM
Re: Invoking a executable with command line arguments
Sounds like a programming error in the C code, where it builds the command string. If that is the case, then we would have to see snippets of the code to try and help further. Notably the variable declarations for the copmmand line passed to system, and the operations used to build it: how is it inialized? memset? static text? how is it filled? sprintf? strncpy?...
I suppose it could also be a cobol special feature.
If you execute the cobol directly from the shell, does it not show the tab?
Finally how do you even know a 'tab' is there? Could it be interpreting the data wrongly? Could the tab be a character count for the next piece of string?
Good luck,
Hein.
I suppose it could also be a cobol special feature.
If you execute the cobol directly from the shell, does it not show the tab?
Finally how do you even know a 'tab' is there? Could it be interpreting the data wrongly? Could the tab be a character count for the next piece of string?
Good luck,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2006 05:39 AM
тАО05-27-2006 05:39 AM
Re: Invoking a executable with command line arguments
I agree with Hein that the source code of the C program needs to be looked at in order to find out what's going on. Please post it if you have it.
thanks
thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP