INVENGQRY

From MidrangeWiki
Revision as of 06:45, 26 May 2005 by Al Mac (talk | contribs) (Here is the Source Code)
Jump to: navigation, search


Explanation for the Program

Here is the Source Code

/*********************************************************************/ /* */ /* Program INVENGQRY runs Query of user choice */ /* */ /*********************************************************************/

             PGM                                                        
                                                                        
/*                Chapter SIX of CL manual explains the rules        */ 
                                                                        
             RUNQRY     ??QRY(XQRY_AVIEW) RCDSLT(*YES)                  
                                                                        
             MONMSG     MSGID(CPF6801) EXEC(GOTO CMDLBL(ENDIT)) /* +    
                          F3 F12 etc. allowed */                        
                                                                        
             ENDIT:      ENDPGM