Profits Plus»Y2K dates - periodic adjustmen…
  • RSS Feed

Last modified on 2/4/2016 11:17 AM by User.

Tags:

Y2K dates - periodic adjustments

 

Profits Plus uses a 2 digit year in the date fields (mmddyy) and needs to be adjusted periodically (every 5 or 10  years or so) to  let it know which years are in the 20th century and which years are in the 21st century.   We use an xcall (centry.run) to set that breakpoint.  

When it is time to advance the year breakpoint  someone must modify and recompile the xcall source code on the mvs server in /u/mvs/dsk0/007006/centry.bas 

  • Change directory to the production /u/mvs/dsk0/007006 folder (. cd76 prod)
  • check out the centry.bas file  (checkout neil centry.bas)
  • go to your test 007006 folder (. cdgo neil)
  • edit the centry.bas source code (vue centry.bas)
  • change the break'year = "35" line to a new value (like "40") 
  • Compile centry.bas without the program generator and without any options (COMPIL centry.bas)
  • Make sure there are no compile errors.
  • The centry.run file will be in your test 007006 folder.
  • check in the centry.bas file  (checkin centry.bas)
  • go to the production 007006 folder (. cdgo prod)
  • Compile centry.bas in the production 007006 folder (COMPIL centry.bas)
  • Make sure you see a new centry.run file in the production dsk0/007006 folder.
  • The new centry.run file will get sent to customers on their next S/M module update.