
Appendix D. Programming experience 441
* STEP 3: RUN/INVOKE PROGRAM: PLISAMP
* ------------------------------------
*
// LIBDEF *,SEARCH=(USER.LIB,PRD2.SCEEBASE)
// EXEC PLISAMP,SIZE=PLISAMP
/*
/. NOLNK1
/&
* $$ EOJ
C/VSE
Example D-5 shows the structure of a basic C/VSE program that takes user input
from VSE console.
C/VSE sample
Example: D-5 Communicate with VSE console
/* Header file includes */
#include <stdio.h>
#include <stdlib.h>
#include <__messag.h>
int main()
{
/* ----------------------------------------------------------- */
/* C/VSE application exploiting __console() function */
/* */
/* Purpose: Show LE/VSE batch run-time