in 4gl i am calling a unix script:
LET string = "mailx -s ' ",lc_hosp ,lc_hospname ," Has Updated TCU ' email@example.com < ",mc_report
problem occur when lc_hospname have any special symbol, for example :
lc_hosp = " children's hospital of united state "
when program try to run the string error is "unmatched ' " ( ' is coming from children's)
can not change the name of hospital. need to mail hospital name as it is.
May God bless
you, Hope you all are in good health, My name is Mohammed, Our team of Gazzaz is working on this issue since a week with no success. I hope by the god's grace may get the solution here, I tried to contact IBM but the solution provided
did not served our purpose unfortunately.
Please allow me to
explain what happened that last week, one of our site’s server in KSA crashed,
which was running since 15 years on a “Proliant 6000 server”, We
rebuilt and recovered all our data and applications and by the grace of god its
operational now on optiplex machine, This errors were started when our
team of 4gl programmers test compilation of their existing programs with
“i4gl”(GUI based to compile forms) and “c4gl”(TEXT based to
compile forms) utilities tools.
Meaning of this
Error after googling but still confused about solution:-
-4604 Errors found in 4GL module.
Select the Correct menu choice. You will be shown the module source with error messages included.
We trigger i4gl
to compile text forms we follow steps below and it’s a GUI as us could see
in Screen shot above :-
• #Su – Informix
• On “Module” and hit enter
• Select “Modify” and hit enter
• Select a Program and hit enter
• Select Compile
• Select Runnable
• It says Correct errors in the 4GL module and
give the above error
to resolve above Error:-
We contacted IBM,
since we thought it is related with 4GL and they suggested to compile programs
with “c4gl” utility
You may check this
IBM forum for your reference where we raised a tickethttps://www.ibm.com/developerworks/forums/thread.jspa?messageID=14885315�
When we trigger
c4gl to compile text forms am following steps below :-
• #Su – Informix
• c4gl source.4gl -o filename.4ge
to resolve above Errors:-
that it’s an SCO Optimizing C Compiler which is needed, I tried to
install the following below from the licensed SCO CD and it did
installed coz I choose “Defer” already which is 60 days buffer,
unfortunately we missed license Number, License Code, License Data which
we missed. In fact we have all the original CD’s and license agreement on the
SCO Open Server Development System(ver
license but using as a defer after khobar server crashed)
SCO Optimizing C Compiler (ver 2.1.4d) (doesn’t require license)
installations errors still persists however when compiling forms with “c4gl”
utility it warned by this new error"acomp:
Warning-Product is not licensed"
I have checked the
following directories and recompiled the program however results the same as
/opt/K/SCO/unixds “yes it’s there”
/usr/ccs/bin/cc “Yes it’s
“Yes its link on this location here”
If the C compiler
is placed on its location, that means its working perfectly, isn’t it?,
Then why we are unable to compile the program?
Additional information, below are the parameters set in .profile of
• #Su – Informix
• $vi .profile
• export INFORMIXDIR=/usr/informix
(as am using KSH shell)
We Require your
help as early as possible.
Since now it’s
clear that it’s not an compiler issue at SCO unix level, It could be 4gl.
If it’s an License issue then I have to contact Informix, need your
suggestion and advice, Waiting for your reply.
Mohammed Kaleem Yazdani
Customer support service by UserEcho