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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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