Operating System - HP-UX
1826398 Members
3572 Online
109692 Solutions
New Discussion

Bad Magic Number - Server Express COBOL Compile

 
Joe Profaizer
Super Advisor

Bad Magic Number - Server Express COBOL Compile

The psrun.mak script links the PeopleSoft COBOL programs. After l inking your COBOL a file will be created called PSRUN. This is the main executable that will run all COBOL processes on your UNIX environment. PSRUN is the PeopleSoft procedure that connects the COBOL batch programs with the RDBMS database. It is compiled uniquely for each platform and consists of modules form PeopleSoft, the RDBMS vendor...........
We receive the following error:
COB64: Bad Magic Number.

Please consult!!

..Joe
2 REPLIES 2
David Woodroffe
Frequent Advisor

Re: Bad Magic Number - Server Express COBOL Compile

Did you ever get a reply to this issue offline?
We are in the middle of doing this right now.
Our work around was to set the environment to 32 bit but I'm not happy about this.

cobmode -s 32

I was hoping to use 64 bit throughout PS 8.x

Oh, if you are using Oracle what version are you using please? We are thinking about 9i.
Scott_130
Occasional Advisor

Re: Bad Magic Number - Server Express COBOL Compile

I ran into the same problem and so far, found the the only workaround to be the same as you mentioned.

export COBMODE=32;

This seems to be temporary solution so if anyone has any answers to this problem, please reply.