IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Loadlib problem


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
divate.dilip

New User


Joined: 11 May 2009
Posts: 15
Location: Mumbai

PostPosted: Thu Mar 25, 2010 5:29 pm
Reply with quote

in the production the issue came that the output flat file contain field is wrong.
so to test, I copied the program to test and compiled its running fine.Output is coming properly as expected.
( program contains on one input vsam file and one output file) nothing else.

I checked everything there is no issue in the program, only thing is loadlib when I use the production loadlib, output is wrong and when we use the test loadlib output is fine.

There seems to be problem with the compatibilty of Compiler. how we will come to know that the loadlib is having problem.

Is there any way to see the compiler has changed and the program has compiled using old compiled option.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Mar 25, 2010 5:45 pm
Reply with quote

You need to contact your site support group and work with them. It is possible that the options used for compiling into production are different than what you used for testing. Some sites recompile for every move into production, some sites move the QA load library member into production. Since this is site specific, and we don't know your site, only your site support group can provide you with assistance.
Back to top
View user's profile Send private message
divate.dilip

New User


Joined: 11 May 2009
Posts: 15
Location: Mumbai

PostPosted: Fri Mar 26, 2010 9:06 am
Reply with quote

Actually the program has not changed from the last 7 years, and the problem has started since 6-7 Odd Months.

IS there any way looking at the Loadlib or anything we come to know what compiling option or which compiler is used.

Or any other way to know any other kind will be very helpful.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Mar 26, 2010 9:51 am
Reply with quote

Hello,

Quote:
Actually the program has not changed from the last 7 years, and the problem has started since 6-7 Odd Months.
If the program that is running has not been compiled/linked for 7 years, compiler options should not be an issue. Something changed 6-7months ago. Suggest it be determined what was changed.

Quote:
There seems to be problem with the compatibilty of Compiler.
What caused this belief?

Ask your support people to run AMBLIST for the load module. This previous topic has some info aboutAMBLIST:
ibmmainframes.com/viewtopic.php?t=41088&highlight=amblist
Back to top
View user's profile Send private message
divate.dilip

New User


Joined: 11 May 2009
Posts: 15
Location: Mumbai

PostPosted: Fri Mar 26, 2010 1:06 pm
Reply with quote

I ran the AMBLIST utility, using

//SYSLIB DD DSN=TEST.BATCH.LOADLIB,DISP=SHR
//SYSIN DD *
LISTLOAD DDN=SYSLIB,MEMBER=VCP003,
TITLE=('LISTING FOR NUCLEUS VCP003',25)

//SYSLIB DD DSN=PROD.BATCH.LOADLIB,DISP=SHR
//SYSIN DD *
LISTLOAD DDN=SYSLIB,MEMBER=VCP003,
TITLE=('LISTING FOR NUCLEUS VCP003',25)

Now in the output I got different control section CEEARLU,CEEBETBL likewise which shows the transalator, the mod and date..which say for the production is 03/28/2000 and for the test loadlib as 03/28/2007.

Is this related to the compiler version. I have attached the screen shot of it.
Back to top
View user's profile Send private message
divate.dilip

New User


Joined: 11 May 2009
Posts: 15
Location: Mumbai

PostPosted: Fri Mar 26, 2010 1:25 pm
Reply with quote

sorry not able to add attachment. this is how it look like.

-PROD LOADLIB

----------------------------------------------
CONTROL SECTION: CEEARLU
USABILITY: UNSPECIFIED OVERLAY SEGMENT:
===== IDRL =====
TRANSLATOR VER MOD DATE
569623400 01 03 03/28/2000
PL/X-390 02 01 03/28/2000

-----------------------------------------------

TEST LOADLIB
-----------------------------------------------
CONTROL SECTION: CEEARLU
USABILITY: UNSPECIFIED OVERLAY SEGMENT:
===== IDRL =====
TRANSLATOR VER MOD DATE
569623400 01 05 03/28/2007
PL/X-390 02 03 03/28/2007

To cross check I have copied the production programs Load lib in test loadlib and ran again the same job. it displays in test loadlib the same 03/28/2000.

Could anyone please explain this? it will be very helpful.....
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Mar 26, 2010 2:33 pm
Reply with quote

May be not the answer you're looking for, however in this,
divate.dilip wrote:
I checked everything there is no issue in the program, only thing is loadlib when I use the production loadlib, output is wrong and when we use the test loadlib output is fine.
if you please explain about "everything" and "wrong output", it might also help.

Another place you might to look at is, probably : Reading AMBLIST output.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Fri Mar 26, 2010 3:39 pm
Reply with quote

Have you checked too if input is wrong ?

I mean, have you run your test with production data ?
or run the production program with test data ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Mar 27, 2010 12:32 am
Reply with quote

CEEARLU,CEEBETBL are language environment (LE) modules.

may want to look them up in the Language Environment Manuals
Back to top
View user's profile Send private message
divate.dilip

New User


Joined: 11 May 2009
Posts: 15
Location: Mumbai

PostPosted: Mon Mar 29, 2010 9:55 am
Reply with quote

I am using the same input file and same program as present in production,

prepared the test job, and ran the job. The output file has having a field = zeros instead of 100$.

Now I overriden the steplib to pick my loadlib( the pgm is compiled without any changes) .. the output field = 100$.

Now I copied the production loadlib to test loadlib( only the particular pgm) and the output field = zeros.

There seems to be a problem with the production loadlib of pgm.

The program was last modified in production in 2004, there are no changes made till date and suddenly from last 7 odd months some output fields are coming zeros.
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Mon Mar 29, 2010 12:54 pm
Reply with quote

@divate.dilip,

If you have FILEAID available in your shop, can you Map CSECTs in address order ( Option 3.1 A in FILEAID) and show us the results, for both PROD and TEST loads? That might help in debugging.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top