HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to translate SMG error codes
Operating System - OpenVMS
        1839880
        Members
    
    
        3305
        Online
    
    
        110156
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 04:23 AM
02-27-2006 04:23 AM
			
				
					
					
						I have a BASIC program using SMG$ to do screen painting, etc. During execution I am receiving and error code 1212940 from SMG$READ_STRING.
How do I translate the error code into a meaningful error message so that I can understand what the potential problem is?
Thanks for your help,
Dan Herron
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
How do I translate the error code into a meaningful error message so that I can understand what the potential problem is?
Thanks for your help,
Dan Herron
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 04:48 AM
02-27-2006 04:48 AM
Solution
			
				
					
					
						Dan,
$ set mess SYS$COMMON:[SYSMSG]SHRIMGMSG.EXE
$ exit 1212940
%SMG-F-INVARG, invalid argument
See Ask The Wizard topc 5171
http://h71000.www7.hp.com/wizard/wiz_5171.html
for procedure MSGTXT.COM to search for message codes in all system message files.
Volker.
		
		
	
	
	
$ set mess SYS$COMMON:[SYSMSG]SHRIMGMSG.EXE
$ exit 1212940
%SMG-F-INVARG, invalid argument
See Ask The Wizard topc 5171
http://h71000.www7.hp.com/wizard/wiz_5171.html
for procedure MSGTXT.COM to search for message codes in all system message files.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 04:55 AM
02-27-2006 04:55 AM
			
				
					
						
							Re: How to translate SMG error codes
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Thanks for your help!
Dan
		
		
	
	
	
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2006 11:04 PM
02-27-2006 11:04 PM
			
				
					
						
							Re: How to translate SMG error codes
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						And in addition, since You get the code inside a program: 
if the program should not exit to DCL with the error code, there is the RTL routine LIB$SYS_GETMSG (or the underlying
SYS$GETMSG routine): which translates the code to the associated message for logging or display in a message window of the SMG program.
					
				
			
			
				
		
		
	
	
	
if the program should not exit to DCL with the error code, there is the RTL routine LIB$SYS_GETMSG (or the underlying
SYS$GETMSG routine): which translates the code to the associated message for logging or display in a message window of the SMG program.
	http://www.mpp.mpg.de/~huber
			
			
				
			
			
			
			
			
			
		The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
