voyager

Absent Member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-25
16:49
1242 views
[Migrated content. Thread originally posted on 25 January 2012]
Hello,I have found that these kinds of call "system" do not work:
CALL VisualCOBOLcall "SYSTEM"
USING "sh Version.win"
The script is never executed and weird characters appear after the script's name.
I had to change it in the following way:
CALL VisualCOBOLcall "SYSTEM"
USING "sh Version.win "
Do you see the difference? Isn't it strange?
1 Solution
Accepted Solutions
Chris Glazier

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-25
16:59
The command to be executed must be null-terminated when using call "SYSTEM".
You can do this as follows:
CALL VisualCOBOLcall "SYSTEM" USING z"sh Version.win"
You can do this as follows:
CALL VisualCOBOLcall "SYSTEM" USING z"sh Version.win"
1 Reply
Chris Glazier

Micro Focus Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2012-01-25
16:59
The command to be executed must be null-terminated when using call "SYSTEM".
You can do this as follows:
CALL VisualCOBOLcall "SYSTEM" USING z"sh Version.win"
You can do this as follows:
CALL VisualCOBOLcall "SYSTEM" USING z"sh Version.win"