Outputting Tables In Stata Forex


RELEVANCY SCORE 6.01: Playstation 3 y Sony Bravia Kdf-E50a11e Pantalla se volverá negro f3 Mi Sony Playstation 3 está conectado a mi Sony Bravia KDF-E50A11E (TV) a través de un cable hdmi. De vez en cuando, la pantalla se volverá negra durante varios segundos y mostrará los ajustes (por ejemplo, hdmi, 1080i / 60, ancho, etc.) y volverá a la normalidad. Parece que la Playstation 3 está perdiendo la conexión con el televisor durante unos segundos. Estoy buscando una solución a este problema. He cambiado el cable del hdmi y también tengo una nueva bombilla en la TV. Si alguien tiene algún consejo que sería apreciado. Gracias. Me sucede mientras juego en un juego. El juego comienza y se carga muy bien en 1080i (cualquier juego) entonces, mientras I39m jugando (puede suceder en cualquier momento, por lo general una hora o 2 en un juego) el problema sucede. Se producirá de nuevo después de otra hora o 2 ha pasado. Mensaje Editado por URDOOM el 24-11-2009 09:34 PMMessage Editado por URDOOM el 24-11-2009 09:49 PM shaunwilko escribió: You Bravia se creará para mostrar la máxima resolución. En el homescreen la resolución máxima es 1080p (o el máximo su TV puede exhibir 1080i). Cuando vas a un juego la mayoría de los cuales son 720p su TV está cambiando a 720p entonces la pantalla se queda en blanco mientras cambia de configuración. 1) soportar (no hace ningún daño) 2) Ir a los ajustes y fijar su ps3 a poner en sólo 720p o 1080i esto lo detendrá cambiando entre los 2. No, eso no es el problema, leer el OP de nuevo , It39s que sucede mid-game, no apenas al comenzar un juego para arriba PERFIL DE LA RELEVANCIA 6.01 DB: 6.01: Sony Kdf-E50a11e mk la mia esperienza: un sony kdf-e50a11e, va da Dio fino una vez que la lámpara, anca ottima come efficienza E luminosit si fulmina. Non sono sicuro sia la lampada (altrimenti l39avrei cambiata io) percha no c39era n immagine pi scura n accensione della spia che avvertiva dell39esaurimento, semplicemente il tv non si accende pi. All39assistenza della mia zona fanno i quotpreziosiquot y anche dettagliando il difetto sostengono di no poter dire sse sia il problema and devo portarglielo. Pretendono 30 (como una obra de guadagna en una giornata intera) por aprirlo y vedere cosa no va: si la lampada la faccio cambiare, mi fanno pagare 205 (si avete capito bene) oltre i primi 30 per total di 235 perch di loro Iniziativa mi quotpuliscono el gruppo otticoquot (ma perch.). Comunque non fa niente, vado a casa por godermi il mio tv y no pensare ai 235 e, sorpresa, il tv ha macchia gialla (sui chiari) che diventa azzurrina (sugli scuri). Faccio un giro su internet, invio mail y otros asistentes de la regione y scopro dovrebbe essere il gruppo ottico. Contesto il guasto all39assistenza che mi risponde: quotgi c39era ma lei no se n39era accortoquot ma vienen. No mi parte de una cosa del genere. Ero cieco o ubriaco. E tra l39altro no mi dite prima di cambiare la lamada che il tv da buttare per quel gran guaio. Contatto sony che, en sintesi, si limita a chiedere all39assistenza: quotl39hai rotto tuquot. Senza osservare l39assurdit del susseguirsi degli eventi. Ovviamente loro cosa rispondono. Chiedo a sony se esistono dei criterio (numeri di serie altro) perch un tecnico verifichi se la rottura sia dovuta a intervento umano o peggio se l39assistenza mi abbia sostituye el grupo con el altro difettado (no numerada serie) non mi viene fornita risposta . Il problema no sarebbe grave perch mi dicono dei tecnici che sarebbe sufficiente sostituir un vetrino danneggiato, ma sony fornisce tutto il gruppo ottico pare a prezzi pi alti del tv. En sintesi tv perfetto, vado en assistenza (tra l39altro parlando con una mia amica y scoperto che hanno fatto en pasión danni anche a lei), mi faccio spillare 235 euros. Por buttare il tv Ora devo comprar on altro, ovviamente non sony per via dell39assistenza, che si ritrova (y otros no se han encontrado aquí), sperando che con l39intervento dell39associazione di consumatori che mi sigo y por via giuduiziale, si riesca ad ottenere giustizia Hai ragione. La sensazione proprio quella: cuando en el asistente de la escuela, el pie de hormigón, el diámetro de la pila, la cantidad de una pila de materiales y los materiales con un problema, el grosor de la capa y el cuello, all39assistenza ci si era rivolti. Io di tv ne capisco un p meno de niente, quello che ho scoperto l39ho scoperto dopo su internet y niente mi toglie dalla mente la malafede di chi ha operato. Credo por cada verificador se fuma la lámpara occorressero pochi minuti y avrebbero potuto farlo davanti a me, invece l39hanno voluto tarifa en la televisión por tenersi il tv. Qui forse corro un p con la fantasia da malpensante, ma no possibile che mi abbiano sostituito qualcosa del gruppo ottico funzionante per favorire al cliente privilegiato nello scambio. Perch Sony no es un filtro de ruido y puede ser verificado por un número de serie. Perch el operador no operando en el trasparenza, el fissando de los dispositivos con los clientes cuando la disponibilidad de tiempo por la visión y la salida de la televisión que se llevan a cabo la operación en el cospipo del cliente, Giorni ho appuntamento con federconsumatori y vedr cosa si pu. Comuncade chiedo un39informazione: su questa la comunidad mi parso de trovare (no son sono sicuro) una sezione en cui alcuni dicentia quali apparecchiature hanno che no usano pi, forse por farle rilevare, magari per pezzi di ricambio, a chi ne interessato. Sai se cos Se si vienen ci si arriva. Grazie ciao RELEVANCY SCORE 6.01 Quiero añadir un campo llamado Business Place (BUPLA) en la selección dinámica en el tcode F.42. Por lo tanto, en la base de datos lógica F.42 KDF se utiliza, por lo que hacer una vista de selección personalizada para la base de datos KDF. El lugar de negocios se ha agregado correctamente en la selección dinámica, pero no refleja cuando ejecuto F.42. Cuando la prueba de SE36, se refleja. La nota 50370 explica detalladamente cómo funciona el sistema para seleccionar los documentos con selección dinámica. Balance informe lee las cifras de transacción que se almacenan con la ayuda de varios campos diferentes, por lo que la selección de acuerdo a otros campos no se puede proceder. Este es el diseño estándar. La selección dinámica de Datos de documento no funciona para los informes que utilizan las tablas de transacciones de clientes / proveedores (KNC1 LFC1), es decir. Los datos del documento como doc. Número y Doc. date no se almacenan en las tablas de transacción. Las selecciones dinámicas sólo se pueden utilizar con los campos de cliente / proveedor, empresa o año fiscal. Los siguientes informes se ven afectados por este SALR87012186 - Ventas al cliente SALR87012082 - Saldos del vendedor en moneda local SALR87012093 - Negocio del proveedor SALR87012079 - Figuras de la transacción: Saldo de la cuenta SALR87012080 - Figuras de la transacción: Ventas especiales SALR87012081 - Fecha clave - Vendedores SALR87012172 - Saldos de clientes en moneda local Espero que esto aclare. DB: 2.73: Problema Bravia Kdf-E50a11e 19 il mio televisore BRAVIA KDF-E50A11E de un po di tempo ha un problema. Si spegne automaticamente y la spia rossa lampeggia y no c39 verso pi di riaccenderlo se no pasan svariate ore. A volte questo non succede per molti giorni, volte se lo si spegne volontariamente. Cuando se trata de un queso dulce, un dulce o un huevo o una adición al agua dulce. Ho chiamato un tecnico y mi demostración de la lámpara en el andando y la cosecha 300. E39 pasada gia39 un anuario y avituallar cosecha de cosechas, el quindi mi viene el cheb y la lámpara. Cuales son las calidades en el merito de preguntas y respuestas sobre ringrazio e saluto. Potrebbe essere necessario sostituire veramente la lampada, il televisore ha qualche anno. La spia sul frontale del TV es una de las mejores ubicaciones de la costa mediterránea. Dovrebbe illuminarsi di rosso cuando la lámpara ha dei quotproblemiquot. PUNTUACIÓN DE RELEVANCIA 2.73 1. Retire las pilas del mando a distancia. 2. Mientras las pilas están apagadas, presione cada botón del mando a distancia dos veces. 3.Introduzca las pilas. 4. Pruebe el mando a distancia. Si esto no funciona, puede probar si el control remoto está emitiendo una señal de infrarrojos usando una cámara digital o una cámara de teléfono celular: 1: Encienda la cámara. 2: Apunte el mando a distancia hacia la lente de la cámara. 3. Pulse un botón del mando a distancia. 4. Mientras mantiene pulsado el botón del mando a distancia, mire la pantalla LCD de la cámara. Si el control remoto está transmitiendo una señal de infrarrojos, el transmisor IR del mando a distancia aparecerá iluminado al presionar un botón y mirarlo a través de la pantalla LCD de la cámara. Si el transmisor de infrarrojos no se ilumina, puede haber un problema con el control remoto y debe ser reemplazado. Si puede ver la luz, entonces puede haber algo mal con el receptor IR en el televisor. NOTA: La luz infrarroja por sí misma es invisible para el ojo humano. Sólo se puede ver cuando se mira a través de una cámara digital como se describe anteriormente. Tengo un problema con mi retroproyección de Sony 3LCD 50quot (KDF-E50A11E) Tiene aproximadamente 7 años de antigüedad y aparte de dos reemplazos de lámpara ha funcionado perfectamente ya que la compraLamp sólo fue Reemplazado sólo 4 meses agoJust ayer la TV cerró y no volverá encendido El icono de la lámpara está permanentemente encendido y la luz de la energía está destellando (Luz roja Parpadeando 3 veces) Tratando de hacer alguna investigación, pero nada definitivo en las 3 luces rojas podría ser uno de Muchas cosas - Lámpara soplada / Sensor de la puerta de la lámpara / Cortocircuito en la tarjeta ¿Puede cualquier persona arrojar cualquier luz en esto para mí pleaseIs él una reparación rápida o una reparación costosaGracias por adelantado Solucionado Ir a la solución. Gracias por su ayuda - reemplazado la lámpara y la TV es de copia de seguridad y ejecución Aunque tengo otro problema, pero voy a iniciar otro hilo en que SCORE RELEVANCIA 2.72 DB: 2.72: Tengo Problema Sobre Shadow (Ghost Double Image) fz Tengo un Sombra de problema Mi dispositivo es PS3 y TV es Sony KDF-E50A11E (HD listo) Tv está trabajando normalmente 1080i / 50 hz y no hay problema. Cuando se inicia PS3 después de la resolución se cambia a 1080i / 60. Todo el menú y el juego está bajo fantasma (imagen doble). El cable HDMI cambiado pero el problema es igual. Necesito ayuda sobre este caso he encontrado soluciones a su avforum de reenvío. Cambiar algún valor en quotservis menuquot y 1080i / 60 está trabajando .. Esto es perfecto. Y gracias a todos los amigos ... Esto es increíble. Este quotsolutionquot utiliza un quotservicequot menú, que sólo los ingenieros entrenados deben utilizar. Usted, no es uno, usted es un usuario quotend. Yo también, pero presté atención. El uso de esta información es totalmente bajo su propio riesgo, usted estropea su tele, es su propia culpa tonta. No vayas a jugar con cosas que no sabes. Para subir el menú quotservicequot, ponga el televisor en modo de espera, luego presione en secuencia: Visualización en pantalla (la pequeña pantalla con el i en ella) 5 (canal número 5) Volumen arriba (extremo superior del botón de volumen) Analógico El televisor debe encenderse y cuando se calienta, debe ver una pantalla con muchas letras verdes grandes. Presione el botón quotmenuquot (parte inferior central) Utilice el dial direccional para bajar a la posición "Controles de control" y pulse a la derecha en el dial para entrar en este menú. Desplácese hacia abajo hasta "H Pos Reg R". Debe ser quot10quot, cambiarlo a quot11quot. (Izquierda / Derecha para ajustar) Mueva hacia abajo a quotS H Pos Reg Gquot. Debe ser quot10quot, cambiarlo a quot11quot. Bajar a quotSHPos Reg Bquot. Debe ser quot10quot, cambiarlo a quot11quot. Pulse el menú inferior para abandonar los menús y el botón standy para pasar al modo de espera. Cambiar de nuevo, y espero que su fantasma se ha ido. El mío fue, no ha notado ningún efecto secundario, parece bien. No sé exactamente lo que hace este ajuste. Supongo que se ajusta el cambio horizontal, tal vez algo se quema en 10. Desde que lo publicó por primera vez, I39m va a doblar esto la solución quotSpinal Tapquot. Ya que. Quotif que lo puso en 11, que39s 1 más alto. Por cierto, mi menú tiene en la parte inferior qu4LE4B v7.27quot. Me pregunté qué otra gente tenía. Esté interesado en saber sobre este firmware quotfixquot para este problema en particular. Es que mi número de firmware Mi firmware es LE4B v8.45 pero este método todavía funciona y nada de ningún problema. Pero por favor no cambie otra configuración porque tal vez aumente el riesgo. Que tengas un buen juego. Adiós fantasma Que tengas un buen día y gracias. RELEVANCY SCORE 2.72 Bienvenido a la comunidad de Sony Por favor, compruebe este artículo para obtener más detalles y pasos sobre cómo solucionar este problema específico. Si el problema persiste, realice los siguientes pasos: 1. Retire cualquier dispositivo o unidad conectada del televisor. 2. Realice el restablecimiento. Compruebe este enlace sobre cómo restablecer su TV a los ajustes de fábrica. 3. Realice el ciclo de encendido en su televisor durante por lo menos 1 minuto. Por favor, compruebe este enlace para obtener más detalles sobre cómo ejecutar el reinicio de energía en su TV. NOTA: Si el problema persiste. Reparación será necesario, por favor visite nuestro sitio web para la opción de reparación disponible o para encontrar el centro de servicio autorizado más cercano en su lugar. El sitio web es eservice. sony. Si mi post responde a su pregunta, por favor, marque como quotAccept como Solutionquot PUNTUACIÓN RELEVANCIA 2.61 DB: 2.61: Kdf 60xs955 f8 Compré un KDF 60XS955 nuevo en Costco y después de 24 meses comenzó a ciclo de on-off-on-off constantemente. Vi hoy que muchas personas que han comprado la misma y similares televisores de la serie KDF han publicado numerosas quejas relacionadas con los mismos problemas y problemas idénticos, que son claramente problemas de producción de OEM. Ya que he pasado más de 200 que han reemplazado varias cosas, que didn39t necesidad de ser reemplazado, y que nunca remediar los quoton-off-onquot cuestiones. Estoy escribiendo para encontrar la solución real para el problema identificado. Los tubos de proyección están en excelente estado de funcionamiento y la televisión tiene bajas horas de uso desde que compró nuevo. He llamado a un servicio de reparación de la tienda de TV local y él didn39t hacer nada, excepto me costó más agravación y más dinero. De todos modos, cualquier ayuda en este momento se agradece Gracias por el mensaje. Siga los pasos que se indican a continuación para realizar el reinicio de alimentación en el televisor. 1. Apague el televisor. 2. Desenchufe el cable de alimentación del televisor de la toma eléctrica. 3. Deje que el televisor permanezca sin alimentación durante 60 segundos. 4. Vuelva a conectar el cable de alimentación a la toma de corriente. (Si el televisor está enchufado en una toma de corriente o protector contra sobretensiones, sáquelo de la regleta o del protector contra sobretensiones y conéctelo directamente a la toma de corriente. La televisión.) 5. Encienda el televisor. Si el problema sigue sin resolverse después de realizar el reinicio de energía, puede ser una indicación de que el televisor necesita servicio. Puede consultar este enlace para localizar el centro de servicio autorizado Sony más cercano en su área. Si mi post responde a su pregunta, por favor, marque como quotAccept como Solution. quot RELEVANCY SCORE 2.61 DB: 2.61: Tengo una Sony TV Kdf-60xs955 Cuando lo enciende Va a ir en cerca de 2 Min. What puedo hacer a Si su televisor de pantalla plana LCD o LED no se enciende o no se enciende Si tiene un apagado inmediato después de encender el televisor o, a veces, un apagado retardado, o el equipo no se enciende y tiene Sin imagen y sin sonido. En primer lugar eliminar cualquier protector de sobrevoltaje / powerstrip problemas conectando directamente en la red. Asegúrese de que la red tenga corriente. En primer lugar, pruebe con un reajuste de potencia (desconecte el aparato durante un minuto o dos, luego vuelva a enchufarlo y enciéndalo). Si eso no lo arregló o el problema vuelve a intentar un restablecimiento de fábrica (consulte el manual del propietario) Solucionarlo o el problema de volver a intentar una actualización de firmware / re instalar. (Consulte el manual del propietario) Las instrucciones para las descargas anteriores y de firmware suelen estar disponibles en el sitio de soporte del producto del fabricante del televisor y se enumeran por su número de modelo de juegos. Si usted no tiene un maunual de los dueños ellos son generalmente disponibles en el Web site de la ayuda del producto de la fabricación en línea también. Si lo anterior no lo arregló, y usted todavía tiene un inmediato auto prueba de fallo / apagado después de encender su TV o, a veces, un apagado retrasado puede ser causado por una falla dura. Una fuente de alimentación defectuosa muy común y por lo general no es difícil de reparar Vea mi post en AVS para más detalles (lenthy pero informativo) avsforum / t / 1491809 / más común-lcd-led-plasma-tv-repair SCORE DE RELEVANCIA 2.61 Hola, Bienvenido A la Comunidad Sony. El problema puede ocurrir si hay una conexión incorrecta entre el televisor y el dispositivo de origen. Cambie la entrada del televisor y verifique si ocurre el mismo problema con diferentes dispositivos (como un decodificador de cable, un reproductor de DVD, una consola de juegos, etc.). Si ocurre el mismo problema con otros dispositivos, intente reiniciar el televisor. Consulte el siguiente enlace para conocer los pasos para reiniciar el televisor. También puede intentar restablecer el televisor a la configuración predeterminada de fábrica, si la reinicialización de energía no ayuda. Esta operación borrará todos los ajustes personalizados, incluyendo el ajuste quotParental Lockquot. Para reiniciar el televisor, enciéndalo y presione el botón RESET en el mando a distancia suministrado. Mientras mantiene pulsado el botón RESET, presione el botón POWER en el panel frontal de la unidad de TV. El televisor se apagará y volverá a encenderlo. Suelte el botón RESET una vez que el televisor se encienda. Si el mismo problema es visible en diferentes entradas incluso después de restablecer y reiniciar el televisor, es posible que se requiera servicio. Puede iniciar la solicitud de servicio utilizando el enlace proporcionado a continuación. Gracias por tu publicación. RELEVANCY SCORE 2.61 DB: 2.61: Flujo Net Flix c9 tiene ranurador sin hilos en la computadora, comprará netflix, qué necesito strem netflix a mi modelo de Sony TV KDF-50E-2000 Gracias de acccess de HDMI Gracias por su poste. El acceso a Internet de alta velocidad y la cuenta de NetFlix son necesarios para que una computadora transmita películas de NetFlix. El siguiente paso es conectar su computadora al televisor a través de un cable HDMI si es posible. Póngase en contacto con el soporte de ese fabricante de computadoras para averiguar cómo enviar el vídeo a un monitor externo. En cuanto al ordenador VAIO, puede utilizar la tecla de acceso rápido FnF7 para cambiar la configuración de salida de vídeo. PUNTAJE DE RELEVANCIA 2.61 DB: 2.61: Kdf-E55a20 se apaga xk Tengo un kdf-e55a20 que se enciende y se enciende. Reemplazó la bombilla hace 4 años y cuando la televisión está en todo funciona bien. El problema es que permanece encendido durante un minuto de dos y luego la secuencia de encendido / apagado comienza de nuevo. Desconectado sentado en una esquina y la esposa quiere que fijo o ido antes de Navidad Hola scubafinn, bienvenido a la comunidad del sitio web Gracias por su mensaje. En lo que respecta a sus preocupaciones, comparto amablemente con usted el siguiente enlace, para que pueda realizar algunos pasos de solución de problemas: us. en. kb. sony/app/answers/detail/aid/42970. PERFIL DE RELEVANCIA 2.61 DB: 2.61: ¿Alguien sabe dónde puedo conseguir un archivo. Kdf para un km de placa Gpib No he tenido éxito en el desarrollo de un archivo. kdf para una tarjeta AT-GPIB / TNT usando un sistema operativo mínimo sin red en NT Embedded. Me gustaría ayuda. No he tenido éxito en el desarrollo de un archivo. kdf para una tarjeta AT-GPIB / TNT utilizando un sistema operativo mínimo sin red en NT Embedded. Me gustaría ayuda. RELEVANCY SCORE 2.57 DB: 2.57: Kdf-E42a10 Tv xc Hay una gran explosión de color azul en nuestra pantalla KDF-E42A10 - podría ser una lámpara de reemplazo Intente hacer el a reiniciar el poder en el televisor. Haga clic en este enlace para ver los pasos para realizar un reinicio de energía en un televisor Sony. También, usted ve el color azul en todos los canales Intente por favor también el otro dispositivo para confirmar. Si el problema persiste después de realizar la solución de problemas y el problema se produce en todos los canales y todas las entradas, el televisor necesita servicio. Visite nuestro sitio web de reparación para localizar al distribuidor autorizado Sony más cercano en su área. Si mi post responde a su pregunta, por favor, marque como quotAccept como Solutionquot RELEVANCY SCORE 2.57 DB: 2.57: ¿Cuál es el número de fusibles térmicos para Tv Kdf E55a20 s8 Luz verde encendido durante un par de segundos y luego va a parpadear rojo 6 ¿cuál es el número de la Fusible térmico para este modelo KDF E55a20 Gracias por el mensaje. Siga los pasos a continuación para solucionar problemas del televisor. Realice un restablecimiento de energía. 1. Apague el televisor. 2. Desenchufe el cable de alimentación del televisor de la toma eléctrica. 3. Deje que el televisor permanezca sin alimentación durante 60 segundos. 4. Vuelva a conectar el cable de alimentación a la toma de corriente. (Si el televisor está enchufado en una toma de corriente o protector contra sobretensiones, sáquelo de la regleta o del protector contra sobretensiones y conéctelo directamente a la toma de corriente. La televisión.) 5. Encienda el televisor. Si el problema persiste después de realizar el reinicio de energía, puede ser una indicación de que el televisor necesita servicio. Puede consultar este enlace para localizar el centro de servicio autorizado Sony más cercano en su área. Para obtener el número de modelo del fusible térmico de su televisor, póngase en contacto con nuestro departamento de venta de accesorios y accesorios. Si mi post responde a su pregunta, por favor, marque como quotAccept como Solution. quot RELEVANCY SCORE 2.57 DB: 2.57: Kdf-E55a20 7m He intentado programar mi tv sin un convertidor adjunto y no recibo ningún canal. Una vez que conecto la caja del convertidor a él consigo 20 canales sin embargo la calidad de sonido es muy muy pobre. Qué estoy haciendo mal. Ser agradable Gracias por su puesto. Usted no recibirá ningún canal sin caja convertidor ya que todo había sido cambiar a transmisión digital. Para determinar qué dispositivo está causando la mala calidad de sonido, pruebe lo siguiente: 1) Reemplace el cable del convertidor a la TV 2) Mueva el cable a otro puerto (si utiliza el vídeo 1, pruebe el vídeo 2) 3) Pruebe el televisor usando otra fuente tal Como reproductor de DVD o reproductor de Blu-ray. Después de seguir los pasos anteriores y no resolver el problema, TV requiere servicio. Visite nuestro sitio web eSupport para obtener información sobre la reparación y las opciones: esupport. sony/US/perl/contac. KDFE55A20 PUNTUACIÓN DE RELEVANCIA 2.57 DB: 2.57: Mi Sony 42 pulgadas Lcd modelo de proyección Kdf-42we655, no sólo de vídeo de audio. Por favor, aconseje 13 DB: 2.49: Sony Kdf E50a11e Ou Kdf E42a11e amplificador Ps3, Blueray, Xbox 360 mc Je suis possesseur de deux rtroprojecteurs, en 50 pouces et l39autre en 42, par ailleurs je possede aussi une PS3, une XBOX 360 et un Lecteur blueray Quel plaisir, malheureusement ce plaisir est limite mon cran de 23 pouces car j39ai beau essai tous types de branchement (rayon, YUV, SVHS, Cinch o peritel) imposible de lire blue ray, jeux PS3, y seuls les jeux XBOX en 60 Hertz passent Correct, les autres m39affichent una imagen no les couleurs sont dcales. Quelqu39un a t-il une solution autre que de racheter deux nouveaux tlviseurs. Par avance, merci pour vos rponses. Vos rtroprojecteurs son compatibles hd y una resolución de 1280 x 720 píxeles de píxeles que se unen para un blu-ray (1920 x 1080p) si su blu-ray puede baisser sa rsolution de salida 1280 x 720 la conexión en YUV est la meilleure RELEVANCY SCORE 2.48Libros de desarrollo de WebSphere (R) ILE Referencia RPG Además, algunos tipos de datos permiten diferentes formatos de datos. Este capítulo describe la diferencia entre formatos de datos internos y externos, describe cada formato y cómo especificarlos. Los campos numérico, de carácter, fecha, hora y sello de hora tienen un formato interno que es independiente del formato externo. El formato interno es la forma en que los datos se almacenan en el programa. El formato externo es la forma en que los datos se almacenan en los archivos. Es necesario tener en cuenta el formato interno cuando: Pasar parámetros por referencia Superponer subcampos en estructuras de datos Además, es posible que desee considerar el formato interno de campos numéricos, cuando el rendimiento en tiempo de ejecución de las operaciones aritméticas es importante. Para obtener más información, vea Consideraciones sobre el rendimiento. Existe un formato interno y externo predeterminado para los tipos de datos numéricos y de fecha y hora. Puede especificar un formato interno para un campo específico en una especificación de definición. Del mismo modo, puede especificar un formato externo para un campo descrito en el programa en la especificación de entrada o salida correspondiente. Para los campos de un archivo descrito externamente, el formato de datos externo se especifica en las especificaciones de descripción de datos en la posición 35. No se puede cambiar el formato externo de los campos descritos externamente, con una excepción. Si especifica EXTBININT en una especificación de control, cualquier campo binario con posiciones decimales cero se considerará que tiene un formato externo entero. Para los subcampos en estructuras de datos descritas externamente, los formatos de datos especificados en la descripción externa se utilizan como formatos internos de los subcampos por el compilador. El formato interno predeterminado para los campos numéricos independientes es decimal empacado. El formato interno predeterminado para los subcampos de estructura de datos numéricos es zonal-decimal. Para especificar un formato interno diferente, especifique el formato deseado en la posición 40 en la especificación de definición para el campo o subcampo. El formato predeterminado para los campos de fecha, hora y fecha y hora es ISO. En general, se recomienda utilizar el formato interno ISO predeterminado, especialmente si tiene una mezcla de tipos de formato externo. Para los campos de fecha, hora y fecha, puede utilizar las palabras clave DATFMT y TIMFMT en la especificación de control para cambiar el formato interno predeterminado, si lo desea, para todos los campos de fecha y hora del programa. Puede utilizar la palabra clave DATFMT o TIMFMT en una especificación de definición para sustituir el formato interno predeterminado de un campo de fecha y hora individual. Si tiene campos numéricos, de carácter o de fecha y hora en archivos descritos en el programa, puede especificar su formato externo. El formato externo no afecta la forma en que se procesa un campo. Sin embargo, es posible que pueda mejorar el rendimiento de las operaciones aritméticas, dependiendo del formato interno especificado. Para obtener más información, vea Consideraciones sobre el rendimiento. La siguiente tabla muestra cómo especificar el formato externo de los campos descritos por el programa. Para obtener más información sobre cada tipo de formato, consulte la sección correspondiente en el resto de este capítulo. P decimal empacado S Zoned decimal El formato externo predeterminado para los datos numéricos de flotación se denomina representación de pantalla externa. El formato para los datos de flotante de 4 bytes es: El formato para los datos de flotador de 8 bytes es: Tenga en cuenta que un valor de flotador de 4 bytes ocupa 14 posiciones y un valor de flotador de 8 bytes ocupa 23 posiciones. Para datos numéricos que no sean float, el formato externo predeterminado es zonal decimal. El formato externo para los arrays y tablas de tiempo de compilación debe ser zoned-decimal, left-sign o right-sign. Para los arrays y las tablas de tiempo de compilación de flotador, los datos de tiempo de compilación se especifican como literal numérico o literal flotante. Cada elemento de una matriz de flotador de 4 bytes requiere 14 posiciones en el registro de origen cada elemento de una matriz de flotador de 8 bytes requiere 23 posiciones. Los campos numéricos no flotantes definidos en especificaciones de entrada, especificaciones de cálculo o especificaciones de salida sin definición correspondiente en una especificación de definición se almacenan internamente en formato decimal empacado. Para cualquiera de los campos de entrada y salida de la Tabla 11. especifique uno de los siguientes formatos de datos externos válidos: A Caracteres (válidos para caracteres e indicadores) N Indicadores (válidos para caracteres e indicadores) G Gráfico (válido para datos gráficos) C UCS-2 (válido para datos UCS-2) La palabra clave EXTFMT se puede utilizar para especificar los datos de una matriz o tabla en formato UCS-2. Especifique el atributo de datos VAR en las posiciones 31-34 en una especificación de entrada y en las posiciones 53-80 en una especificación de salida para caracteres de longitud variable, gráficos o datos UCS-2. Si tiene campos de fecha, hora y marca de hora en los archivos descritos en el programa, debe especificar su formato externo. Puede especificar un formato externo predeterminado para todos los campos de fecha, hora y marca de hora en un archivo descrito en el programa utilizando las palabras clave DATFMT y TIMFMT en una especificación de descripción de archivo. También puede especificar un formato externo para un campo en particular. Especifique el formato deseado en las posiciones 31-34 en una especificación de entrada. Especifique la palabra clave y el formato adecuados en las posiciones 53-80 en una especificación de salida. Para obtener más información sobre cada tipo de formato, consulte la sección correspondiente en el resto de este capítulo. El tipo de datos de caracteres representa los valores de los caracteres y puede tener cualquiera de los siguientes formatos: Los datos de caracteres pueden contener uno o más caracteres de un solo byte o doble byte, dependiendo del formato especificado. Los campos de caracteres, gráficos y UCS-2 también pueden tener un formato fijo o de longitud variable. La siguiente tabla resume los diferentes formatos de tipo de datos de caracteres. Tipo de datos de caracteres Número de bytes El formato de caracteres de longitud fija es uno o más bytes de longitud definida. Defina un campo de caracteres especificando A en la entrada Tipo de datos de la especificación adecuada. También puede definir uno utilizando la palabra clave LIKE en la especificación de definición donde el parámetro es un campo de caracteres. El valor de inicialización predeterminado es espacios en blanco. El formato del indicador es un tipo especial de datos de caracteres. Los indicadores tienen un byte de longitud y sólo pueden contener los valores de carácter 0 (apagado) y 1 (encendido). Se utilizan generalmente para indicar el resultado de una operación o para condicionar (controlar) el procesamiento de una operación. El valor predeterminado de los indicadores es 0. Defina un campo indicador especificando N en la entrada Tipo de datos de la especificación adecuada. También puede definir un campo indicador utilizando la palabra clave LIKE en la especificación de definición donde el parámetro es un campo indicador. Los campos indicadores también se definen implícitamente con la palabra clave COMMIT en la especificación de descripción del archivo. También está disponible un conjunto especial de indicadores RPG IV predefinidos (INxx). Para una descripción de estos indicadores, vea Indicadores RPG IV. Las reglas para definir variables de indicador son: Los indicadores se pueden definir como campos independientes, subcampos, prototipos de parámetros y valores de retorno del procedimiento. Si una variable de indicador se define como una matriz o tabla de prerun-time o compile-time, los datos de inicialización deben constar sólo de 0s y 1s. Nota: Si un indicador contiene un valor distinto de 0 o 1 en tiempo de ejecución, los resultados son impredecibles. Si se especifica la palabra clave INZ, el valor debe ser uno de 0, OFF, 1 o ON. La palabra clave VARYING no se puede especificar para un campo indicador. Las reglas para el uso de variables de indicador son: El valor de inicialización por defecto para los campos indicadores es 0. El código de operación CLEAR establece una variable de indicador en 0. La función en blanco aplicada a una variable de indicador la establece en 0. Si se especifica una matriz de indicadores como El resultado de una operación MOVEA (P), el carácter de relleno es 0. Los indicadores se definen implícitamente con ALTSEQ (NONE). Esto significa que la secuencia de clasificación alternativa no se utiliza para comparaciones con indicadores. Los indicadores se pueden utilizar como campos-clave donde la clave externa es un carácter de longitud 1. El formato gráfico es una cadena de caracteres donde cada carácter está representado por 2 bytes. Fields defined as graphic data do not contain shift-out (SO) or shift-in (SI) characters. The difference between single byte character and double byte graphic data is shown in the following figure: The length of a graphic field, in bytes, is two times the number of graphic characters in the field. The fixed-length graphic format is a character string with a set length where each character is represented by 2 bytes. You define a graphic field by specifying G in the Data-Type entry of the appropriate specification. You can also define one using the LIKE keyword on the definition specification where the parameter is a graphic field. The default initialization value for graphic data is X4040. The value of HIVAL is XFFFF, and the value of LOVAL is X0000. The Universal Character Set (UCS-2) format is a character string where each character is represented by 2 bytes. This character set can encode the characters for many written languages. Fields defined as UCS-2 data do not contain shift-out (SO) or shift-in (SI) characters. The length of a UCS-2 field, in bytes, is two times the number of UCS-2 characters in the field. The fixed-length UCS-2 format is a character string with a set length where each character is represented by 2 bytes. You define a UCS-2 field by specifying C in the Data-Type entry of the appropriate specification. You can also define one using the LIKE keyword on the definition specification where the parameter is a UCS-2 field. The default initialization value for UCS-2 data is X0020. The value of HIVAL is XFFFF, LOVAL is X0000, and the value of BLANKS is X0020. For more information on the UCS-2 format, see the iSeries Information Center globalization topic. Variable-length character fields have a declared maximum length and a current length that can vary while a program is running. The length is measured in single bytes for the character format and in double bytes for the graphic and UCS-2 formats. The storage allocated for variable-length character fields is 2 bytes longer than the declared maximum length. The leftmost 2 bytes are an unsigned integer field containing the current length in characters, graphic characters or UCS-2 characters. The actual character data starts at the third byte of the variable-length field. Figure 80 shows how variable-length character fields are stored: Figure 81 shows how variable-length graphic fields are stored. UCS-2 fields are stored similarly. You define a variable-length character data field by specifying A (character), G (graphic), or C (UCS-2) and the keyword VARYING on a definition specification. It can also be defined using the LIKE keyword on a definition specification where the parameter is a variable-length character field. You can refer to external variable-length fields, on an input or output specification, with the VAR data attribute. A variable-length field is initialized by default to have a current length of zero. The following rules apply when defining variable-length fields: The declared length of the field can be from 1 to 65535 single-byte characters and from 1 to 16383 double-byte graphic or UCS-2 characters. The current length may be any value from 0 to the maximum declared length for the field. The field may be initialized using keyword INZ. The initial value is the exact value specified and the initial length of the field is the length of the initial value. The field is padded with blanks for initialization, but the blanks are not included in the length. In all cases except subfields defined using positional notation, the length entry (positions 33-39 on the definition specifications) contains the maximum length of the field not including the 2-byte length. For subfields defined using positional notation, the length includes the 2-byte length. As a result, a variable-length subfield may be 32769 single bytes long or 16384 double bytes long for an unnamed data structure. The keyword VARYING cannot be specified for a data structure. For variable-length prerun-time arrays, the initialization data in the file is stored in variable format, including the 2-byte length prefix. Since prerun-time array data is read from a file and files have a maximum record length of 32766, variable-length prerun-time arrays have a maximum size of 32764 single-byte characters, or 16382 double-byte graphic or UCS-2 characters. A variable-length array or table may be defined with compile-time data. The trailing blanks in the field of data are not significant. The length of the data is the position of the last non-blank character in the field. This is different from prerun-time initialization since the length prefix cannot be stored in compile-time data. LIKE DEFINE cannot be used to define a field like a variable-length field. The following is an example of defining variable-length character fields: The following is an example of defining variable-length graphic and UCS-2 fields: The default initialization value for numeric fields is zero. Binary format means that the sign (positive or negative) is in the leftmost bit of the field and the numeric value is in the remaining bits of the field. Positive numbers have a zero in the sign bit negative numbers have a one in the sign bit and are in twos complement form. A binary field can be from one to nine digits in length and can be defined with decimal positions. If the length of the field is from one to four digits, the compiler assumes a binary field length of 2 bytes. If the length of the field is from five to nine digits, the compiler assumes a binary field length of 4 bytes. Every input field read in binary format is assigned a field length (number of digits) by the compiler. A length of 4 is assigned to a 2-byte binary field a length of 9 is assigned to a 4-byte binary field, if the field is not defined elsewhere in the program. Because of these length restrictions, the highest decimal value that can be assigned to a 2-byte binary field is 9999 and the highest decimal value that can be assigned to a 4-byte binary field is 999 999 999. In general, a binary field of n digits can have a maximum value of n 9s. This discussion assumes zero decimal positions. Because a 2-byte field in binary format is converted by the compiler to a decimal field with 1 to 4 digits, the input value may be too large. If it is, the leftmost digit of the number is dropped. For example, if a four digit binary input field has a binary value of hexadecimal 6000, the compiler converts this to 24 576 in decimal. The 2 is dropped and the result is 4576. Similarly, the input value may be too large for a 4-byte field in binary format. If the binary fields have zero (0) decimal positions, then you can avoid this conversion problem by defining integer fields instead of binary fields. Note: Binary input fields cannot be defined as match or control fields. The number of digits of a binary field is exactly the same as the length in the DDS description. For example, if you define a binary field in your DDS specification as having 7 digits and 0 decimal positions, the RPG IVcompiler handles the data like this: The field is defined as a 4-byte binary field in the input specification A Packed(7,0) field is generated for the field in the RPG IV program. If you want to retain the complete binary field information, redefine the field as a binary subfield in a data structure or as a binary stand-alone field. Note that an externally described binary field may have a value outside of the range allowed by RPG IV binary fields. If the externally described binary field has zero (0) decimal positions then you can avoid this problem. To do so, you define the externally described binary field on a definition specification and specify the EXTBININT keyword on the control specification. This will change the external format of the externally described field to that of a signed integer. The float format consists of two parts: the mantissa and the exponent. The value of a floating-point field is the result of multiplying the mantissa by 10 raised to the power of the exponent. For example, if 1.2345 is the mantissa and 5 is the exponent then the value of the floating-point field is: You define a floating-point field by specifying F in the data type entry of the appropriate specification. The decimal positions must be left blank. However, floating-point fields are considered to have decimal positions. As a result, float variables may not be used in any place where a numeric value without decimal places is required, such as an array index, do loop index, etc. The default initialization and CLEAR value for a floating point field is 0E0. The length of a floating point field is defined in terms of the number of bytes. It must be specified as either 4 or 8 bytes. The range of values allowed for a floating-point field are: 4-byte float (8 digits) -3.4028235E38 to -1.1754944E-38, 0.0E0, 1.1754944E-38 to 3.4028235E38 8-byte float (16 digits) -1.797693134862315E308 to -2.225073858507201E-308, 0.0E0, 2.225073858507201E-308 to 1.797693134862315E308 Note: Float variables conform to the IEEE standard as supported by the OS/400 operating system. Since float variables are intended to represent scientific values, a numeric value stored in a float variable may not represent the exact same value as it would in a packed variable. Float should not be used when you need to represent numbers exactly to a specific number of decimal places, such as monetary amounts. See Specifying an External Format for a Numeric Field for a general description of external display representation. The external display representation of float values applies for the following: Output of float data with Data-Format entry blank. Input of float data with Data-Format entry blank. External format of compile-time and prerun-time arrays and tables (when keyword EXTFMT is omitted). Display and input of float values using operation code DSPLY. Output of float values on a dump listing. Result of built-in function EDITFLT. When outputting float values, the external representation uses a format similar to float literals, except that: Values are always written with the character E and the signs for both mantissa and exponent. Values are either 14 or 23 characters long (for 4F and 8F respectively). Values are normalized. That is, the decimal point immediately follows the most significant digit. The decimal separator character is either period or comma depending on the parameter for Control Specification keyword DECEDIT. Here are some examples of how float values are presented: When inputting float values, the value is specified just like a float literal. The value does not have to be normalized or adjusted in the field. When float values are defined as array/table initialization data, they are specified in fields either 14 or 23 characters long (for 4F and 8F respectively). Note the following about float fields: Alignment of float fields may be desired to improve the performance of accessing float subfields. You can use the ALIGN keyword to align float subfields defined on a definition specification. 4-byte float subfields are aligned on a 4-byte boundary and 8-byte float subfields are aligned along a 8-byte boundary. For more information on aligning float subfields, see ALIGN. Length adjustment is not allowed when the LIKE keyword is used to define a field like a float field. Float input fields cannot be defined as match or control fields. The integer format is similar to the binary format with two exceptions: The integer format allows the full range of binary values The number of decimal positions for an integer field is always zero. You define an integer field by specifying I in the Data-Type entry of the appropriate specification. You can also define an integer field using the LIKE keyword on a definition specification where the parameter is an integer field. The length of an integer field is defined in terms of number of digits it can be 3, 5, 10, or 20 digits long. A 3-digit field takes up 1 byte of storage a 5-digit field takes up 2 bytes of storage a 10-digit field takes up 4 bytes a 20-digit field takes up 8 bytes. The range of values allowed for an integer field depends on its length. Field length Range of Allowed Values 3-digit integer -128 to 127 5-digit integer -32768 to 32767 10-digit integer -2147483648 to 2147483647 20-digit integer -9223372036854775808 to 9223372036854775807 Note the following about integer fields: Alignment of integer fields may be desired to improve the performance of accessing integer subfields. You can use the ALIGN keyword to align integer subfields defined on a definition specification. 2-byte integer subfields are aligned on a 2-byte boundary 4-byte integer subfields are aligned along a 4-byte boundary 8-byte integer subfields are aligned along an 8-byte boundary. For more information on aligning integer subfields, see ALIGN. If the LIKE keyword is used to define a field like an integer field, the Length entry may contain a length adjustment in terms of number of digits. The adjustment value must be such that the resulting number of digits for the field is 3, 5, 10, or 20. Integer input fields cannot be defined as match or control fields. Packed-decimal format means that each byte of storage (except for the low order byte) can contain two decimal numbers. The low-order byte contains one digit in the leftmost portion and the sign (positive or negative) in the rightmost portion. The standard signs are used: hexadecimal F for positive numbers and hexadecimal D for negative numbers. The packed-decimal format looks like this: The sign portion of the low-order byte indicates whether the numeric value represented in the digit portions is positive or negative. Figure 89 shows what the decimal number 21544 looks like in packed-decimal format. Use the following formula to find the length in digits of a packed-decimal field: This formula gives you the maximum number of digits you can represent in packed-decimal format the upper limit is 31. Packed fields can be up to 16 bytes long. Table 12 shows the packed equivalents for zoned-decimal fields up to 31 digits long: Zoned-Decimal Length in Digits Number of Bytes Used in Packed-Decimal Field For example, an input field read in packed-decimal format has a length of five bytes (as specified on the input or definition specifications). The number of digits in this field equals 2(5) - 1 or 9. Therefore, when the field is used in the calculation specifications, the result field must be nine positions long. The PACKEVEN keyword on the definition specification can be used to indicate which of the two possible sizes you want when you specify a packed subfield using from and to positions rather than number of digits. The unsigned integer format is like the integer format except that the range of values does not include negative numbers. You should use the unsigned format only when non-negative integer data is expected. You define an unsigned field by specifying U in the Data-Type entry of the appropriate specification. You can also define an unsigned field using the LIKE keyword on the definition specification where the parameter is an unsigned field. The length of an unsigned field is defined in terms of number of digits it can be 3, 5, 10, or 20 digits long. A 3-digit field takes up 1 byte of storage a 5-digit field takes up 2 bytes of storage a 10-digit field takes up 4 bytes a 20-digit field takes up 8 bytes. The range of values allowed for an unsigned field depends on its length. Field length Range of Allowed Values 3-digit unsigned 0 to 255 5-digit unsigned 0 to 65535 10-digit unsigned 0 to 4294967295 20-digit unsigned 0 to 18446744073709551615 For other considerations regarding the use of unsigned fields, including information on alignment, see Integer Format. Zoned-decimal format means that each byte of storage can contain one digit or one character. In the zoned-decimal format, each byte of storage is divided into two portions: a 4-bit zone portion and a 4-bit digit portion. The zoned-decimal format looks like this: The zone portion of the low-order byte indicates the sign (positive or negative) of the decimal number. The standard signs are used: hexadecimal F for positive numbers and hexadecimal D for negative numbers. In zoned-decimal format, each digit in a decimal number includes a zone portion however, only the low-order zone portion serves as the sign. Figure 89 shows what the number 21544 looks like in zoned-decimal format. You must consider the change in field length when coding the end position in positions 40 through 43 of the Output specifications and the field is to be output in packed format. To find the length of the field after it has been packed, use the following formula: You can specify an alternative sign format for zoned-decimal format. In the alternative sign format, the numeric field is immediately preceded or followed by a or - sign. A plus sign is a hexadecimal 4E, and a minus sign is a hexadecimal 60. When an alternative sign format is specified, the field length (specified on the input specification) must include an additional position for the sign. For example, if a field is 5 digits long and the alternative sign format is specified, a field length of 6 positions must be specified. Keep in mind the following when defining numeric fields: When coding the end position in positions 47 through 51 of the output specifications, be sure to use the external format when calculating the number of bytes to be occupied by the output field. For example, a packed field with 5 digits is stored in 3 bytes, but when output in zoned format, it requires 5 bytes. When output in integer format, it only requires 2 bytes. If you move a character field to a zoned numeric, the sign of the character field is fixed to zoned positive or zoned negative. The zoned portion of the other bytes will be forced to F. However, if the digit portion of one of the bytes in the character field does not contain a valid digit a decimal data error will occur. When numeric fields are written out with no editing, the sign is not printed as a separate character the last digit of the number will include the sign. This can produce surprising results for example, when -625 is written out, the zoned decimal value is XF6F2D5 which appears as 62N. You should specify the integer or unsigned format for fields when: Performance of arithmetic is important With certain arithmetic operations, it may be important that the value used be an integer. Some examples where performance may be improved include array index computations and arguments for the built-in function SUBST. Interacting with routines written in other languages that support an integer data type, such as ILE C. Using fields in file feedback areas that are defined as integer and that may contain values above 9999 or 999999999. Packed, zoned, and binary formats should be specified for fields when: Using values that have implied decimal positions, such currency values Manipulating values having more than 19 digits Ensuring a specific number of digits for a field is important Float format should be specified for fields when: The same variable is needed to hold very small and/or very large values that cannot be represented in packed or zoned values. Note: Overflow is more likely to occur with arithmetic operations performed using the integer or unsigned format, especially when integer arithmetic occurs in free-form expressions. This is because the intermediate results are kept in integer or unsigned format rather than a temporary decimal field of sufficient size. Figure 89 shows what the decimal number 21544 looks like in various formats. Note the following about the representations in the figure. To obtain the numeric value of a positive binary or integer number, unsigned number, add the values of the bits that are on (1), but do not include the sign bit (if present). For an unsigned number, add the values of the bits that are on, including the leftmost bit. The value 21544 cannot be represented in a 2-byte binary field even though it only uses bits in the low-order two bytes. A 2-byte binary field can only hold up to 4 digits, and 21544 has 5 digits. Figure 90 shows the number -21544 in integer format. Date fields have a predetermined size and format. They can be defined on the definition specification. Leading and trailing zeros are required for all date data. Date constants or variables used in comparisons or assignments do not have to be in the same format or use the same separators. Also, dates used for I/O operations such as input fields, output fields or key fields are also converted (if required) to the necessary format for the operation. The default internal format for date variables is ISO. This default internal format can be overridden globally by the control specification keyword DATFMT and individually by the definition specification keyword DATFMT. The hierarchy used when determining the internal date format and separator for a date field is From the DATFMT keyword specified on the definition specification From the DATFMT keyword specified on the control specification ISO There are three kinds of date data formats, depending on the range of years that can be represented. This leads to the possibility of a date overflow or underflow condition occurring when the result of an operation is a date outside the valid range for the target field. The formats and ranges are as follows: Number of Digits in Year 2 (YMD, DMY, MDY, JUL) Several formats are also supported for fields used by the MOVE, MOVEL, and TEST operations only. This support is provided for compatibility with externally defined values that are already in a 3-digit year format and the 4-digit year LONGJUL format. It also applies to the 2-digit year formats when JOBRUN is specified. JOBRUN should be used when the field which it is describing is known to have the attributes from the job. For instance, a 12-digit numeric result of a TIME operation will be in the job date format. Table 15 lists the valid externally defined date formats that can be used in Factor 1 of a MOVE, MOVEL, and TEST operation. Format (Default Separator) 2-Digit Year Formats Determined at runtime from the DATFMT, or DATSEP job values. 3-Digit Year Formats 2 4-Digit Year Formats JOBRUN is valid only for character or numeric dates with a 2-digit year since the run-time job attribute for DATFMT can only be MDY, YMD, DMY or JUL. Valid values for the century character c are: When coding a date format on a MOVE, MOVEL or TEST operation, separators are optional for character fields. To indicate that there are no separators, specify the format followed by a zero. For more information on how to code date formats without separators see MOVE (Move). MOVEL (Move Left) and TEST (Test Date/Time/Timestamp). To initialize the Date field to the system date at runtime, specify INZ(SYS) on the definition specification. To initialize the Date field to the job date at runtime, specify INZ(JOB) on the definition specification. SYS or JOB cannot be used with a field that is exported. The Date field can also be initialized to a literal, named constant or figurative constant. Note: Runtime initialization takes place after static intitialization. Time fields have a predetermined size and format. They can be defined on the definition specification. Leading and trailing zeros are required for all time data. Time constants or variables used in comparisons or assignments do not have to be in the same format or use the same separators. Also, times used for I/O operations such as input fields, output fields or key fields are also converted (if required) to the necessary format for the operation. The default internal format for time variables is ISO. This default internal format can be overridden globally by the control specification keyword TIMFMT and individually by the definition specification keyword TIMFMT. The hierarchy used when determining the internal time format and separator for a time field is From the TIMFMT keyword specified on the definition specification From the TIMFMT keyword specified on the control specification ISO Table 16 shows the time formats supported and their separators. RPG Format Name When coding a time format on a MOVE, MOVEL or TEST operation, separators are optional for character fields. To indicate that there are no separators, specify the format followed by a zero. For more information on how to code time formats without separators see MOVE (Move). To initialize the Time field to the system time at runtime, specify INZ(SYS) on the definition specification. SYS cannot be used with a field that is exported. The Time field can also be initialized at runtime to a literal, named constant or figurative constant. Note: Runtime initialization takes place after static intitialization. A special value of JOBRUN can be used in Factor 1 of a MOVE, MOVEL or TEST operation. This indicates that the separator of the field being described is based on the run-time job attributes, TIMSEP. Timestamp fields have a predetermined size and format. They can be defined on the definition specification. Timestamp data must be in the format Microseconds (.mmmmmm) are optional for timestamp literals and if not provided will be padded on the right with zeros. Leading zeros are required for all timestamp data. The default initialization value for a timestamp is midnight of January 1, 0001 (0001-01-01-00.00.00.000000). The HIVAL value for a timestamp is 9999-12-31-24.00.00.000000. The LOVAL value for timestamp is 0001-01-01-00.00.00.000000. When coding the timestamp format on a MOVE, MOVEL or TEST operation, separators are optional for character fields. To indicate that there are no separators, specify ISO0. For an example of how ISO is used without separators see TEST (Test Date/Time/Timestamp). To initialize the Timestamp field to the system date at runtime, specify INZ(SYS) on the definition specification. SYS cannot be used with a field that is exported. The Timestamp field can also be initialized at runtime to a literal, named constant or figurative constant. Note: Runtime initialization takes place after static intitialization. The object data type allows you to define a Java object. You specify the object data type as follows: In position 40, you specify data type O. In the keyword section, you specify the CLASS keyword to indicate the class of the object. Specify JAVA for the environment, and the class name. If the object is the return type of a Java constructor, the class of the returned object is the same as the class of the method so you do not specify the CLASS keyword. Instead, you specify the EXTPROC keyword with environment JAVA, the class name, and procedure name CONSTRUCTOR. An object cannot be based. It also cannot be a subfield of a data structure. If an object is an array or table, it must be loaded at runtime. Pre-run and compile-time arrays and tables of type Object are not allowed. Every object is initialized to NULL, which means that the object is not associated with an instance of its class. To change the contents of an object, you must use method calls. You cannot directly access the storage used by the object. Classes are resolved at runtime. The compiler does not check that a class exists or that it is compatible with other objects. You can use an object field in the following situations: Free-Form Evaluation You can use the EVAL operation to assign one Object item (field or prototyped procedure) to a field of type Object. Free-Form Comparison You can compare one object to another object. You can specify any comparison, but only the following comparisons are meaningful: Equality or inequality with another object. Two objects are equal only if they represent exactly the same object. Two different objects with the same value are not equal. If you want to test for equality of the value of two objects, use the Java equals method as follows: Equality or inequality with NULL. An object is equal to NULL if it is not associated with a particular instance of its class. Free-Form Call Parameter You can code an object as a parameter in a call operation if the parameter in the prototype is an object. Objects are not valid as input or output fields. Assignment validity is not checked. For example, RPG would allow you to assign an object of class Number to an object variable defined with class String. If this was not correct, a Java error would occur when you tried to use the String variable. Basing pointers are used to locate the storage for based variables. The storage is accessed by defining a field, array, or data structure as based on a particular basing pointer variable and setting the basing pointer variable to point to the required storage location. For example, consider the based variable MYFIELD, a character field of length 5, which is based on the pointer PTR1. The based variable does not have a fixed location in storage. You must use a pointer to indicate the current location of the storage for the variable. Suppose that the following is the layout of some area of storage: If we set pointer PTR1 to point to the G, If MYFIELD is now changed by an EVAL statement to HELLO, the storage starting at the J would change: Use the BASED keyword on the definition specification (see BASED(basingpointername) ) to define a basing pointer for a field. Basing pointers have the same scope as the based field. The length of the basing pointer field must be 16 bytes long and must be aligned on a 16 byte boundary. This requirement for boundary alignment can cause a pointer subfield of a data structure not to follow the preceding field directly, and can cause multiple occurrence data structures to have non-contiguous occurrences. For more information on the alignment of subfields, see Aligning Data Structure Subfields. The default initialization value for basing pointers is NULL. Note: When coding basing pointers, you must be sure that you set the pointer to storage that is large enough and of the correct type for the based field. Figure 96 shows some examples of how not to code basing pointers. Note: You can add or subtract an offset from a pointer in an expression, for example EVAL ptr ptr offset. When doing pointer arithmetic be aware that it is your responsibility to ensure that you are still pointing within the storage of the item you are pointing to. In most cases no exception will be issued if you point before or after the item. When subtracting two pointers to determine the offset between them, the pointers must be pointing to the same space, or the same type of storage. For example, you can subtract two pointers in static storage, or two pointers in automatic storage, or two pointers within the same user space. You set or change the location of the based variable by setting or changing the basing pointer in one of the following ways: Initializing with INZ(ADDR(FLD)) where FLD is a non-based variable Assigning the pointer to the result of ADDR(X) where X is any variable Assigning the pointer to the value of another pointer Using ALLOC or REALLOC (see ALLOC (Allocate Storage). REALLOC (Reallocate Storage with New Length). and the WebSphere Development Studio: ILE RPG Programmers Guide for examples) Moving the pointer forward or backward in storage using pointer arithmetic: (offset is the distance in bytes that the pointer is moved)

Comments