Macro-Instruction : CAPTURE_ECRAN Bibliothèque : PPDREFD Thème : API Type : ECRAN Membre : RTV_ECRAN ------- DESCRIPTION --------- Renvoie le buffer de l'écran en cours ------ PARAMETRES UTILISES ------------ Code Libellé N° Désignation Lg Déc Contrôle Contrôle -- ------------------------------ ----- --- -------- -------------------------------- 1 Type Ecran 1=>24*80 2=>27*132 1 OBLI Zone obligatoire 2 Ligne Début '' si tout l'écran 2 OBLI Zone obligatoire 3 Ligne Fin ' ' si tout l'écran 2 OBLI Zone obligatoire 4 Buffer Ecran 3565 TYLG Type & longueur ------ SEQUENCE D'INSTRUCTIONS ----------- 000100 DECLARER TYPECR;MI_TYPECR 1 000200 DECLARER LIGDEB;MI_LIGDEB 2 000300 DECLARER LIGFIN;MI_LIGFIN 2 000400 DECLARER LIGFIN;MI_LIGFIN 2 000500 DECLARER WEBFAC;MI_WEB 1 000600 * SGS Il faut verifier que le job ne tourne pas en mode WEBFACING 000700 * DECLARER BUFFER;MI_BUFFER 3565 000800 MI_WEB = *BLANK 000900 APPELER WEBFACON MI_WEB 001000 SI MI_WEB <> 'O' 001100 MI_TYPECR = :01 001200 MI_LIGDEB = :02 001300 MI_LIGFIN = :03 001400 * MI_BUFFER = *BLANK 001500 APPELER RTVSCR MI_TYPECR MI_LIGDEB MI_LIGFIN :04 001600 FIN