Till today's production incidence I was under asumption that changeman re-compile and Stage do the same thing.
We had a Super package / participating structure.
Super package say "SUP"- Participating package A - copybook, B - programs , C - recompiles
We had a small change in copybook, Reducing filler and adding new field. So copybook length remains same.
All related program using the new fields were staged in Changeman B.
All other programs using copybook (Only recompile requirement) were staged in package C. - Please note programs staged and compiled.
Audit for package is passed without warning.
With the new code in package C we got Abend in batch job Code S04C.
But when the programs in package C were recompiled using Changeman option for recompile It worked fine.
Question :- How is recompile is different than Staging. Bothe create new source loadlib with changed copybook
0 Dates - Display the installation calendar
1 Create - Create a new package
2 Update - Update package information
3 Custom - Create, update, approve or review custom forms
4 Utility - Rename and Scratch information
5 Checkout - Check out components from baseline or promotion
6 Stage - Stage, edit, browse and delete components
7 Audit - Audit a package
8 Recompile - Recompile source code from baseline or promotion
9 Relink - Relink load modules
B Browse - Browse\print\copy baseline or promotion
C Compare - Compare staging to baseline or promotion
L Listing - Browse compressed listings
S Scan - Scan baseline for character strings
Z Compress - Compress change package Staging Libraries
Press ENTER to process; Enter END command to exit.
PF1 gave overall idea about what process happens when we chose Re-compile and Stage options.
For Stage source code is availabe in Changeman lib, Where as for re-compile only load libs are created.
At the end of both the process its loadlib which we use for executing in batch.
Not able to releate it to Batch S04C, Staging loadlib had the abend , but when same component re-compiled, issue vanished.
How ? what was the difference of Output of both process ?
Joined: 22 Apr 2006 Posts: 6258 Location: Mumbai, India
"Stage" means you bring the component first time to Change-Man's staging-libraries. Which might mean, to make an entry of the component in "history library", creating load modules and a bit more. (it's been quite a while when I worked on Change-man and I don't have the manuals for it available to me at the moment).
Re-compile, OTOH means - just "re-compiling". Component already exist in "all the places" change-man want it to.
For an experiment, compare the load-modules you get using "stage" and the one you get after "re-compile". And see if there is any difference.