Sounds like the compiler is hitting the "/" and baling out.
Ive had this promlem with other character strings.
Try the following
ASSUMING THAT YOUR USING ASCII "/" = HEX 2F
01 SYSTEM-COMMAND.
05 FILLER PIC X(01) VALUE X"2F".
05 FILLER...
Thanks for the Link -- Ive been looking for COBOL work for some time now. Its the first place I've seen in months that
had some actual COBOL jobs advertised. Found 12 in the
Phill'ey area that I'm relocating to this weekend.
Depending on the shell you may need to add a "." before
the system command.
system-command = ". /bin/runme"
call "system" using system-command"
Otherwise the call will start another occurance of the shell
when the script finished it will still be in that...
Thanks Clive!
Never even thought of this! I've been sendign escape codes
and/or loading font tables to the printer manualy. This
looks like it will work for barcodes and images as well -- gona check it out this weekend.
The .idx files are just indexes to the primary data base files .db. The .fd -- My guess -- The files COBOL discription -- Thats how you know about the COMP fields? ODBC should access these files? But thats not allways possible with older versions of ISAM (The revsion you gave is fine). I's...
Dont know about Microfocus but I've had problems with
dos apps in windows. Check the config.sys for
SHELL=C:\COMMAND.COM
FILES=??
BUFFERS=??
Are you compiling the program in BIG mode if so you may
need a DPIM manager loaded in DOS.
Thats all I can think of a the moment --
Sorry;
The compiler was Acucobol 2.1 running on SCO (Not sure
on revision)
I noticed this same problem in DOS using the same
version of the compiler. I know that the code look redundent -- but it works.
I've seen this myself. I found a workaround -- not sure its been several years but--
Try this (DO NOT REPLACE THE STRING WITH A MOVE)
01 WS-SYSTEM-COMMAND PIC X(256) VALUE SPACES
MOVE SPACES TO WS-SYSTEM-COMMAND.
STRING "command text" INTO WS-SYSTEM-COMMAND.
CALL...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.