BookmarkSubscribeRSS Feed
billrain
Calcite | Level 5

After we upgrade SAS 9.4 from TS1M1 to TS1M4 on z/OS, one of our programs could not work with below error.

 

NOTE: Line generated by the invoked macro "KC2PFM2".                                  

3752        WORK.SUMM2 ;                                            BY SMFMNPRN TIME; 

3752     !          FORMAT TIME TOT. ;                                                

                                ____                                                  

                                48                                                    

WARNING: Apparent symbolic reference SDATE not resolved.                              

                                                                                       

ERROR 48-59: The format TOT was not found or could not be loaded.

 

Can anyone advise please? 

1 REPLY 1
Kurt_Bremser
Super User

Please post your log using the {i} button, to preserve the formatting of messages (horizontal alignment).

As it is, there is a WARNING from a statement you did not include. Therefore post the whole log of the step, including where &sdate was used.

This might also mean to post the code for macro KC2PFM2.

The ERROR for the missing format might be caused

- by a missing or wrong fmtsearch option

- or the fact that a formats catalog (SASUSER or elsewhere) was not migrated

There is no TOT format supplied by the SAS system itself, so you either try to use a custom-made format, or you do have a misspelling (there is a TOD format supplied by SAS)

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1059 views
  • 0 likes
  • 2 in conversation