Console_Response
Function Type 
  
 
	 Purpose
 
		 
		Callback function to relay the results of MVS console commands to C programs. 
		
 
	  
 
	 C Declaration
 
		 
		signed long int
 Console_Response(
    signed long int rc,
    char* ops_command );
 
	  
 
	 Parameters
 
		 
		
 
			  
			  
			  
				 
				  | Parameter 
				   | 
 
				  Description 
				   | 
 
				
 
			 
 
			  
				 
				  | rc 
				   | 
 
				  Receive the return status code from the MVS console. 
				   | 
 
				
 
				 
				  | ops_command 
				   | 
 
				  Receive the operator command from the MVS console. 
				   | 
 
				
 
				 
				  | return value 
				   | 
 
				  Zero indicates a normal return. 
					  All other values indicate a special console command—namely, 
						stop or 
						shut. 
					  
 
				   | 
 
				
 
			 
 
		  
 
 
	  
 
	 Remarks
 
		 
		Available only in C for z/OS MVS. 
		
 
		COBOL does not support callback functions. 
		
 
	  
 
	 
 
   
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.