{ ----------------------------------------------------------------------- PROGRAMA : PRMNRP000 OBJETIVO : Menu de Reportes del Sistema de Produccion PROGRAMADOR : Tadeo A. Ferreras F. FECHA REALIZACION : Sept. 14,1994. ----------------------------------------------------------------------- } GLOBALS "prprgb000.4gl" | | The GLOBALS file "prprgb000.4gl" cannot be opened for reading. | See error number -4306. MAIN DEFER INTERRUPT CALL pantalla() CALL opciones_prmnrp000() END MAIN FUNCTION opciones_prmnrp000() DEFINE p_user CHAR(9) DEFINE luz CHAR(5) OPTIONS PROMPT LINE 8, MESSAGE LINE 24 DISPLAY " Reportes " AT 6,22 DISPLAY "prmnrp000" AT 4,3 ATTRIBUTE(YELLOW) DISPLAY " 1-Horas Pers. No Prod.(Form.) prprrp001" AT 10,1 DISPLAY " 2-Val. Horas Pers. No Prod. prprrp002" AT 11,1 DISPLAY " 3-Val. Reg. Produc. Diaria prprrp005" AT 12,1 DISPLAY " 4-Resumen Semanal de produc. prprrp003" AT 13,1 DISPLAY " 5-Resumen Mensual de Producc. prprrp011" AT 14,1 DISPLAY " 6-Pilas Produc./Horas Totales prprrp006" AT 15,1 DISPLAY " 7-Pilas Produc./Horas Direct. prprrp008" AT 16,1 DISPLAY " 8-Reporte Diario de Manufact. prprrp009" AT 17,1 DISPLAY " 9-Celdas Producidas prprrp010" AT 18,1 DISPLAY "10-Produccion Por Tipo de Pila prprrp012" AT 19,1 DISPLAY "11-Prod. Acum. en Rango de Ano prprrp007" AT 20,1 DISPLAY "12-Val. Maestra Operaciones prprrp013" AT 10,42 DISPLAY " S-Retorna Menu Anterior " AT 21,20 ATTRIBUTE (BOLD) LET opcion = " " | | The symbol "opcion" does not represent a defined variable. | See error number -4369. | | The variable "opcion" is too complex a type to be used in an | assignment statement. | See error number -4323. LABEL vuelve: PROMPT " OPCION: " FOR opcion HELP 1 | | The symbol "opcion" does not represent a defined variable. | See error number -4369. LET opcion = upshift(opcion) | | The variable "opcion" in its current form is too complex | to be used in this statement. | See error number -4334. | | The symbol "opcion" does not represent a defined variable. | See error number -4369. | | The variable "opcion" is too complex a type to be used in an | assignment statement. | See error number -4323. | | The symbol "opcion" does not represent a defined variable. | See error number -4369. IF opcion != "S" THEN | | The symbol "opcion" does not represent a defined variable. | See error number -4369. SELECT unique usuario INTO p_user FROM seg0001 WHERE usuario = user #CALL seg000(p_user,opcion,"prmnrp000") RETURNING luz IF luz = "roja" THEN ERROR "NO TIENE PERMISO PARA UTILIZAR OPCION" GOTO vuelve END IF END IF CASE WHEN opcion = "1" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp001() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "2" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp002() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "3" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp005() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "4" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp003() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "5" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp011() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "6" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp006() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "7" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp008() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "8" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp009() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "9" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp010() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "10" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp012() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "11" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp007() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "12" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. CALL prprrp013() CLEAR SCREEN CALL pantalla() CALL opciones_prmnrp000() WHEN opcion = "S" or opcion = "s" | | The symbol "opcion" does not represent a defined variable. | See error number -4369. | | The symbol "opcion" does not represent a defined variable. | See error number -4369. RETURN OTHERWISE CALL opciones_prmnrp000() END CASE END FUNCTION FUNCTION pantalla() DEFINE fecha CHAR(8), hora char(5) LET fecha = today USING "dd/mm/yy" LET hora = time DISPLAY " R A Y . O . V A C D O M I N I C A N A " AT 4,19 ATTRIBUTE (REVERSE,YELLOW) DISPLAY fecha AT 4,70 ATTRIBUTE (YELLOW) DISPLAY "Sistema de Produccion" AT 5,29 DISPLAY hora AT 6,73 ATTRIBUTE(YELLOW) CALL fgl_drawbox(5,79,3,1) CALL fgl_drawbox(1,79,22,1) END FUNCTION FUNCTION integridad() IF sqlca.sqlcode < 0 THEN LET numero_msg = sqlca.sqlcode | | The symbol "numero_msg" does not represent a defined variable. | See error number -4369. | | The variable "numero_msg" is too complex a type to be used in an | assignment statement. | See error number -4323. CALL msg(numero_msg) | | The symbol "numero_msg" does not represent a defined variable. | See error number -4369. DISPLAY numero_msg AT 23,70 | | The symbol "numero_msg" does not represent a defined variable. | See error number -4369. | | The variable "numero_msg" in its current form is too complex | to be used in this statement. | See error number -4334. LET bandera = 1 | | The symbol "bandera" does not represent a defined variable. | See error number -4369. | | The variable "bandera" is too complex a type to be used in an | assignment statement. | See error number -4323. LET status = 0 SLEEP 2 RETURN END IF RETURN END FUNCTION