Page 1 of 1

Batch program with CICS precompile Option

PostPosted: Wed Dec 23, 2015 9:26 pm
by xboss
If assembler batch program compiled/link edited with CICS pre-compile option turned on, will there be any problem running this program in mere batch? It is just out of my curiosity. Yes, you might say in first hand if there is no CICS code in the program then why do you want that CICS precompile option turned on (may be you have different jargon in your shop), I understand but want to clear my head. Is there any adverse affect of compiling batch program with CICS pre-compile option turned on? I hope I am clear with my question :)

Re: Batch program with CICS precompile Option

PostPosted: Wed Dec 23, 2015 9:57 pm
by enrico-sorichetti
why don' t You try Yourself ? ( faster than wait for a forum reply )

Re: Batch program with CICS precompile Option

PostPosted: Wed Dec 23, 2015 10:14 pm
by xboss
Enrico,
Thanks for the response. I will definitely try, in fact I already did. But before going to production, I wanted to double check from the guru like yourself if I am missing any theory behind it.

Re: Batch program with CICS precompile Option

PostPosted: Wed Dec 23, 2015 10:36 pm
by enrico-sorichetti
But before going to production,


OK... if that is just a curiosity, the attempt should stop there

I consider a serious processing flaw to build programs in sneaky ways.

Each program should be correctly classified and built using the appropriate procedures
even more if You are using some source control application. where the correct classification of a program is vital for the automated build
db2 precompile, cics precompile, compile, link
proper program classification will ensure that at LINK time the proper libraries are used

Re: Batch program with CICS precompile Option

PostPosted: Wed Dec 23, 2015 11:45 pm
by Mickeydusaor
depends on if you value having your job or not...

Re: Batch program with CICS precompile Option

PostPosted: Thu Dec 24, 2015 12:29 am
by xboss
Ohh, I do. Thats why I am here for expert opinion. :)

Re: Batch program with CICS precompile Option

PostPosted: Sat Dec 26, 2015 11:24 pm
by steve-myers
I have an opinion, but it doesn't count and I won't venture it here. It doesn't count because I lack the knowledge to make it count.

However, it might be safest to go to your production control people. Tell them you screwed up and built the program incorrectly. It passed all the certification tests [and you discuss your testing procedure here]. Ask them if it should be rebuilt correctly and recertified, or if it can be placed into production as is. You do this and your ass should be covered if something goes wrong.

What I think will happen here is the production control people will tell you to rebuild and recertify the program, so their asses will be covered if something goes wrong.