OK, I am having trouble with this again. First off, when I issue the SAME EXACT command that I used to create an object module, I end up with the abeprep.o file instead, meaning it did not link successfully.
I am using
cob2 comprc_ok=8 abeprep.cbl
Yes, I renamed the source file from abeunix.cbl to abeprep.cbl
Also, the reason I am getting the RC of 8 is because at the top of the listing it says that
IGYOS4003-E invalid option "OPTIONS." was found and discarded.
How come the compiler is not working again and what can I do to remedy the RC8
FWIW - you should probably fix either the code or the COBOL compile command anytime you get anything bu a perfect compile. RC 8 is NOT perfect, assuming this RC works like COBOL II on mvs. Since it's an IBM product and is aimed at mainframe ports, I think this is correct.
try
or whatever option is required to go into verbose mode. Post the output.
Linking problems for a lot of compilers like this are related to a path variable called
SHLIB_PATH (maybe LD_LIBRARY_PATH)
Get into an editor. Go to line 269. You have a section declared above line 269 that doesn't have any statement, ie., some valid COBOL statement or declaration that ends with a period.
It's been 30 years since I've done COBOL, but it hasn't changed....
Somewhere above line 269 you should see
In column 8 one line (or more ) under procedure division look for "BEGIN." If it isn't in there somewhere add it. Has to come before any COBOL statements.
Next look at the last statement in the WORKING-STORAGE SECTION. There should be a period at the end of it.
Look at the statement above 1000-INIT. It should be a statement, not the PROCEDURE DIVISION.
If none of this fixes it post lines 200-300 of the source.
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hi, i checked on rhel VPS is running sshd
(service ssh status)
But i cant connect via putty: "Network error: Connection refused"
Please which log file in my centos rhel linux i need to watch or what are steps to do to discover cause? (3 Replies)
Hi gurus,
OS = SunOS 5.8
Not sure whether to post this in the scripting one or to advance and experts. Am posting on both since there is two things that am wanting to achieve.
Am currerntly having NFS server errors where it is having problems NFS mounting some of the volumes from the... (1 Reply)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
When running our UNIX job scripts we randomly get the following 198 error below. When we restart the job it works fine. I haven't been able to recreate the problem in test, so I'm wondering if it has something to do with Cron or possibly a memory error or memory leak. I don't see anything... (5 Replies)
Hello fellow UNIX fans,
I'm running AIX 4.3 and getting an error message “cp: /a/file2.db: A file or directory in the path does not exist” when I run the following command:
cp /b/file.db /a/file2.db
It stops every time about 95% of the way through the copy process at 1,073,741,312 bits. ... (3 Replies)
I've created a backup and restore script and it's working fine so it's all about making it more robust at the moment for me. Let's say the user has a folder in their home directory for word processing files called "wp". I want to copy the files I made a backup of from this directory back into it.... (2 Replies)
I'm trying to make use of mkdir(char *pathname, S_IRWXU) to create the directories.
but it only creates one directory at a time. so I have to separate the tokens for "/home/blah1/blah2/blah3" as "home blah1 blah2 blah3" using delimiter "/", but it is again hectic to create such directory... (8 Replies)
I am trying to install openmotif22-2.2.3-18.src.rpm,
after I typed in " rpm -i openmotif22-2.2.3-18.src.rpm"
the following message comes out:
warning: user owen does not exist - using root
warning: group owen does not exist - using root
I am install openmotif under root account.
Do... (2 Replies)
Hi,
I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone.
And its not dumping core if we run the script using "/bin/sh" instead of "ksh"
Can some body please help me how to resolve this issue.
... (9 Replies)