Insert SQL

2018-11-13 Por tema Jesus Roberto Finol Luque
Date: Tue, 13 Nov 2018 15:45:59 +0100
From: "Paco Medina - Exclusivas Camacho" 
Subject: RV: consulta
To: "'forum.help400'" 
Message-ID: <011901d47b5f$974d1d70$c5e75850$@e-camacho.com>
Content-Type: text/plain; charset="iso-8859-1"

Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server

seria muy complicado?

Complicado como tal no lo es, pero no recomiendo hacerlo desde un lenguaje
común con SQL incrustado por cuestiones de compatibilidad; es recomendable
hacerlo con un procedimiento SQL y recordar que se crea para SQL server que
es ASCII y no EBCDIC.

Saludos.-

El mar., 13 nov. 2018 a las 10:25, 
escribió:

> Envíe los mensajes para la lista Forum.help400 a
> forum.help400@listas.combios.es
>
> Para subscribirse o anular su subscripción a través de la WEB
> http://listas.combios.es/cgi-bin/mailman/listinfo/forum.help400
>
> O por correo electrónico, enviando un mensaje con el texto "help" en
> el asunto (subject) o en el cuerpo a:
> forum.help400-requ...@listas.combios.es
>
> Puede contactar con el responsable de la lista escribiendo a:
> forum.help400-ow...@listas.combios.es
>
> Si responde a algún contenido de este mensaje, por favor, edite la
> linea del asunto (subject) para que el texto sea mas especifico que:
> "Re: Contents of Forum.help400 digest...". Además, por favor, incluya
> en la respuesta sólo aquellas partes del mensaje a las que está
> respondiendo.
>
>
> Asuntos del día:
>
>1. RV: consulta (Paco Medina - Exclusivas Camacho)
>2. Re: consulta (marti.ri...@gmail.com)
>
>
> --
>
> Message: 1
> Date: Tue, 13 Nov 2018 15:45:59 +0100
> From: "Paco Medina - Exclusivas Camacho" 
> Subject: RV: consulta
> To: "'forum.help400'" 
> Message-ID: <011901d47b5f$974d1d70$c5e75850$@e-camacho.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server
>
> seria muy complicado?
>
>
>
>
>
> Gracias
>
>
>
>
>
> Paco Medina
> Dept. Informática
> IT Clientes / IT Integration Services
>
> Exclusivas Camacho, S. Ltd.
> EORI ESB29145240
> Av. J. Ortega y Gasset, 301 (Pol. San Luis)
> 29006 Málaga, España (SPAIN)
>
>
> Tel.   +34 952 322 900
> Fax   +34 952 314 900
>  <http://www.e-camacho.com> www.e-camacho.com
>  <mailto:med...@e-camacho.com> med...@e-camacho.com
>
> Antes de imprimir piensa si es necesario, piensa en el MEDIO AMBIENTE.
>
> Este mensaje y sus adjuntos son confidenciales y reservados exclusivamente
> a
> su destinatario.
>
> Queda prohibida cualquier revelación, copia o distribución de su contenido.
> Si ha recibido este
>
> mensaje por error, notifíquelo inmediatamente por esta misma vía y borre el
> mensaje de su sistema.
>
> Los datos contenidos en las comunicaciones son tratados por EXCLUSIVAS
> CAMACHO, S. L. con
>
> domicilio en AV. ORTEGA Y GASSET 301, 29006 MÁLAGA (ESPAÑA) con el fin de
> gestionar las
>
> comunicaciones y ofrecerle la información solicitada. Puede ejercitar sus
> derechos de acceso,
>
> rectificación, supresión, oposición y limitación, remitiéndonos su
> solicitud
> por escrito acompañando
>
> copia de su documento de identidad. Nuestra política de protección de datos
> podrá encontrarla en
>
> https://www.e-camacho.com.
>
>
>
> Before printing thinks if necessary, think of ENVIRONMENT.
>
> This message and any attachments are confidential and intended for the use
> of the addressee
>
> only. Any disclosure, copying, distribution is strictly prohibited. If you
> have received this email in error,
>
> please notify the sender and delete it immediately. Personal data included
> in this email belongs to
>
> EXCLUSIVAS CAMACHO, S. L. with registered address in AV. ORTEGA Y GASSET
> 301, 29006
>
> MÁLAGA (SPAIN) and will be processed with the purpose of managing the
> communications and
>
> providing information. You are entitled to exercise your rights of access,
> rectification, erasure, object,
>
> and limitation by addressing such written application to the company,
> together with a copy of you ID
>
> card. You may consult our privacy and data protection policy in
> https://www.e-camacho.com.
>
>
>
>  próxima parte 
> Se ha borrado un adjunto en formato HTML...
> URL: <
> http://listas.combios.es/cgi-bin/mailman/private/forum.help400/attachments/20181113/6d29bd33/attachment-0001.html
> >
>  próxima parte 
> A non-text att

RE: consulta

2018-11-13 Por tema Paco Medina - Exclusivas Camacho
Muchas gracias a todos 

 

De: forum.help400-boun...@listas.combios.es 
 En nombre de Juan García
Enviado el: martes, 13 de noviembre de 2018 16:48
Para: forum. help400 
Asunto: Re: consulta

 

Hola 

 

  No es complicado, empieza por echar un vistazo aquí:

 

   http://www-01.ibm.com/support/docview.wss?uid=nas8N1018120

 

Un saludo

 

El mar., 13 nov. 2018 a las 15:52, Paco Medina - Exclusivas Camacho 
(mailto:med...@e-camacho.com> >) escribió:

Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server

seria muy complicado?

 

 

Gracias

 

 

Paco Medina
Dept. Informática 
IT Clientes / IT Integration Services

Exclusivas Camacho, S. Ltd.
EORI ESB29145240
Av. J. Ortega y Gasset, 301 (Pol. San Luis)
29006 Málaga, España (SPAIN)


Tel.   +34 952 322 900
Fax   +34 952 314 900
  www.e-camacho.com
  med...@e-camacho.com 

Antes de imprimir piensa si es necesario, piensa en el MEDIO AMBIENTE.

Este mensaje y sus adjuntos son confidenciales y reservados exclusivamente a su 
destinatario.

Queda prohibida cualquier revelación, copia o distribución de su contenido. Si 
ha recibido este

mensaje por error, notifíquelo inmediatamente por esta misma vía y borre el 
mensaje de su sistema.

Los datos contenidos en las comunicaciones son tratados por EXCLUSIVAS CAMACHO, 
S. L. con

domicilio en AV. ORTEGA Y GASSET 301, 29006 MÁLAGA (ESPAÑA) con el fin de 
gestionar las

comunicaciones y ofrecerle la información solicitada. Puede ejercitar sus 
derechos de acceso,

rectificación, supresión, oposición y limitación, remitiéndonos su solicitud 
por escrito acompañando

copia de su documento de identidad. Nuestra política de protección de datos 
podrá encontrarla en

https://www.e-camacho.com.

 

Before printing thinks if necessary, think of ENVIRONMENT.

This message and any attachments are confidential and intended for the use of 
the addressee

only. Any disclosure, copying, distribution is strictly prohibited. If you have 
received this email in error,

please notify the sender and delete it immediately. Personal data included in 
this email belongs to

EXCLUSIVAS CAMACHO, S. L. with registered address in AV. ORTEGA Y GASSET 301, 
29006

MÁLAGA (SPAIN) and will be processed with the purpose of managing the 
communications and

providing information. You are entitled to exercise your rights of access, 
rectification, erasure, object,

and limitation by addressing such written application to the company, together 
with a copy of you ID

card. You may consult our privacy and data protection policy in 
https://www.e-camacho.com. 

 


Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.


Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.

Data structure en SQL

2018-11-13 Por tema Jesus Roberto Finol Luque
Sí el procedure es un programa RPG no tienes problema, ahora sí quiere
hacerlo en un procedure SQL, esto no es posible tal y como en RPG.

Sí indica qué quiere hacer y para qué, podemos ayudarle mejor.


Saludos.-

Hola estoy necesitando definir una data structur (asi como se define en
rpg) dentro de un procedimiento almacenado.
Db2.

Esto seria hipotéticamente
DECLARE "field" CHAR (100)
Y la variable "field" subdividir  en
varios subcampos
"field1" Dec (15, 0);
"field2" Dec (15, 0);
"field3" Dec (15, 0);
"field4" Dec (15, 0);
"field5" Char (40);

Será que  es posible?
Si tienen algún ejemplo les agradecería mucho.
Saludos

El mar., 13 nov. 2018 a las 5:54, 
escribió:

> Envíe los mensajes para la lista Forum.help400 a
> forum.help400@listas.combios.es
>
> Para subscribirse o anular su subscripción a través de la WEB
> http://listas.combios.es/cgi-bin/mailman/listinfo/forum.help400
>
> O por correo electrónico, enviando un mensaje con el texto "help" en
> el asunto (subject) o en el cuerpo a:
> forum.help400-requ...@listas.combios.es
>
> Puede contactar con el responsable de la lista escribiendo a:
> forum.help400-ow...@listas.combios.es
>
> Si responde a algún contenido de este mensaje, por favor, edite la
> linea del asunto (subject) para que el texto sea mas especifico que:
> "Re: Contents of Forum.help400 digest...". Además, por favor, incluya
> en la respuesta sólo aquellas partes del mensaje a las que está
> respondiendo.
>
>
> Asuntos del día:
>
>1. Definir una data structur en un Store procedure
>   (josepo...@gmail.com)
>
>
> --
>
> Message: 1
> Date: Mon, 12 Nov 2018 16:48:25 -0300
> From: josepo...@gmail.com
> Subject: Definir una data structur en un Store procedure
> To: "forum.help400" 
> Message-ID:
> <
> caeox1dv9ja6ohjtny2odz9duj0-cpage34h4fd_54dfbir1...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hola estoy necesitando definir una data structur (asi como se define en
> rpg) dentro de un procedimiento almacenado.
> Db2.
>
> Esto seria hipotéticamente
> DECLARE "field" CHAR (100)
> Y la variable "field" subdividir  en
> varios subcampos
> "field1" Dec (15, 0);
> "field2" Dec (15, 0);
> "field3" Dec (15, 0);
> "field4" Dec (15, 0);
> "field5" Char (40);
>
> Será que  es posible?
> Si tienen algún ejemplo les agradecería mucho.
> Saludos
>  próxima parte 
> Se ha borrado un adjunto en formato HTML...
> URL: <
> http://listas.combios.es/cgi-bin/mailman/private/forum.help400/attachments/20181112/35165506/attachment-0001.html
> >
>
> --
>
> __
> Forum.HELP400 es un servicio mamp;#225;s de ServerNEWS.
> amp;#169; Publicaciones Help400, S.L. - Todos los derechos reservados
> http://www.help400.es
> _
>
> Para darte de baja visita la siguente URL:
> http://listas.combios.es/mailman/listinfo/forum.help400
>
> Fin de Resumen de Forum.help400, Vol 145, Envío 4
> *
>

Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.

Re: consulta

2018-11-13 Por tema Juan García
Hola

  No es complicado, empieza por echar un vistazo aquí:

   http://www-01.ibm.com/support/docview.wss?uid=nas8N1018120

Un saludo

El mar., 13 nov. 2018 a las 15:52, Paco Medina - Exclusivas Camacho (<
med...@e-camacho.com>) escribió:

> Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server
>
> seria muy complicado?
>
>
>
>
>
> Gracias
>
>
>
>
>
>
> *Paco MedinaDept. Informática *
> IT Clientes / IT Integration Services
>
> Exclusivas Camacho, S. Ltd.
> EORI ESB29145240
> Av. J. Ortega y Gasset, 301 (Pol. San Luis)
> 29006 Málaga, España (SPAIN)
>
> [image: http://www.e-camacho.com/img/logo_camacho.png]
> Tel.   +34 952 322 900
> Fax   +34 952 314 900
> www.e-camacho.com
> *med...@e-camacho.com* 
>
> *Antes de imprimir piensa si es necesario, piensa en el MEDIO AMBIENTE.*
>
> Este mensaje y sus adjuntos son confidenciales y reservados exclusivamente
> a su destinatario.
>
> Queda prohibida cualquier revelación, copia o distribución de su
> contenido. Si ha recibido este
>
> mensaje por error, notifíquelo inmediatamente por esta misma vía y borre
> el mensaje de su sistema.
>
> Los datos contenidos en las comunicaciones son tratados por EXCLUSIVAS
> CAMACHO, S. L. con
>
> domicilio en AV. ORTEGA Y GASSET 301, 29006 MÁLAGA (ESPAÑA) con el fin de
> gestionar las
>
> comunicaciones y ofrecerle la información solicitada. Puede ejercitar sus
> derechos de acceso,
>
> rectificación, supresión, oposición y limitación, remitiéndonos su
> solicitud por escrito acompañando
>
> copia de su documento de identidad. Nuestra política de protección de
> datos podrá encontrarla en
>
> https://www.e-camacho.com.
>
>
>
> *Before printing thinks if necessary, think of ENVIRONMENT.*
>
> This message and any attachments are confidential and intended for the use
> of the addressee
>
> only. Any disclosure, copying, distribution is strictly prohibited. If you
> have received this email in error,
>
> please notify the sender and delete it immediately. Personal data included
> in this email belongs to
>
> EXCLUSIVAS CAMACHO, S. L. with registered address in AV. ORTEGA Y GASSET
> 301, 29006
>
> MÁLAGA (SPAIN) and will be processed with the purpose of managing the
> communications and
>
> providing information. You are entitled to exercise your rights of access,
> rectification, erasure, object,
>
> and limitation by addressing such written application to the company,
> together with a copy of you ID
>
> card. You may consult our privacy and data protection policy in
> https://www.e-camacho.com.
>
>
> 
> Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
> Forum.Help400 © Publicaciones Help400, S.L.

Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.

RE: consulta

2018-11-13 Por tema Sergio Martinez Roig
Hola Paco,

Yo lo tengo montado a través de JAVA, mírate la siguiente página de Scott 
Klement:

https://www.scottklement.com/jdbc/

Si necesitas más detalles sólo tienes que pedirlo.

Un saludo
Sergio Martínez Roig
Estibarna, SAGEP

De: forum.help400-boun...@listas.combios.es 
[mailto:forum.help400-boun...@listas.combios.es] En nombre de Paco Medina - 
Exclusivas Camacho
Enviado el: martes, 13 de noviembre de 2018 15:46
Para: 'forum.help400'
Asunto: RV: consulta


Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server
seria muy complicado?


Gracias


Paco Medina
Dept. Informática
IT Clientes / IT Integration Services
Exclusivas Camacho, S. Ltd.
EORI ESB29145240
Av. J. Ortega y Gasset, 301 (Pol. San Luis)
29006 Málaga, España (SPAIN)

[http://www.e-camacho.com/img/logo_camacho.png]
Tel.   +34 952 322 900
Fax   +34 952 314 900
www.e-camacho.com
med...@e-camacho.com
Antes de imprimir piensa si es necesario, piensa en el MEDIO AMBIENTE.
Este mensaje y sus adjuntos son confidenciales y reservados exclusivamente a su 
destinatario.
Queda prohibida cualquier revelación, copia o distribución de su contenido. Si 
ha recibido este
mensaje por error, notifíquelo inmediatamente por esta misma vía y borre el 
mensaje de su sistema.
Los datos contenidos en las comunicaciones son tratados por EXCLUSIVAS CAMACHO, 
S. L. con
domicilio en AV. ORTEGA Y GASSET 301, 29006 MÁLAGA (ESPAÑA) con el fin de 
gestionar las
comunicaciones y ofrecerle la información solicitada. Puede ejercitar sus 
derechos de acceso,
rectificación, supresión, oposición y limitación, remitiéndonos su solicitud 
por escrito acompañando
copia de su documento de identidad. Nuestra política de protección de datos 
podrá encontrarla en
https://www.e-camacho.com.

Before printing thinks if necessary, think of ENVIRONMENT.
This message and any attachments are confidential and intended for the use of 
the addressee
only. Any disclosure, copying, distribution is strictly prohibited. If you have 
received this email in error,
please notify the sender and delete it immediately. Personal data included in 
this email belongs to
EXCLUSIVAS CAMACHO, S. L. with registered address in AV. ORTEGA Y GASSET 301, 
29006
MÁLAGA (SPAIN) and will be processed with the purpose of managing the 
communications and
providing information. You are entitled to exercise your rights of access, 
rectification, erasure, object,
and limitation by addressing such written application to the company, together 
with a copy of you ID
card. You may consult our privacy and data protection policy in 
https://www.e-camacho.com.

Este mensaje contiene información confidencial dirigida al destinatario del 
mismo. Las opiniones expresadas pertenecen al autor y no necesariamente a 
ESTIBARNA. Si Ud. recibe este mensaje por error, se ruega informe 
inmediatamente al remitente del mismo. Queda prohibido el uso, divulgación, 
copia o distribución a terceros de la información incluida en este mensaje.

Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.

Re: consulta

2018-11-13 Por tema marti . riera
Buenas,

Mira el siguiente enlace de IBM:
http://www-01.ibm.com/support/docview.wss?uid=nas8N1018120

Saludos

Martí Riera
www.as400howto.com



Missatge de Paco Medina - Exclusivas Camacho  del dia
dt., 13 de nov. 2018 a les 15:52:

> Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server
>
> seria muy complicado?
>
>
>
>
>
> Gracias
>
>
>
>
>
>
> *Paco MedinaDept. Informática *
> IT Clientes / IT Integration Services
>
> Exclusivas Camacho, S. Ltd.
> EORI ESB29145240
> Av. J. Ortega y Gasset, 301 (Pol. San Luis)
> 29006 Málaga, España (SPAIN)
>
> [image: http://www.e-camacho.com/img/logo_camacho.png]
> Tel.   +34 952 322 900
> Fax   +34 952 314 900
> www.e-camacho.com
> *med...@e-camacho.com* 
>
> *Antes de imprimir piensa si es necesario, piensa en el MEDIO AMBIENTE.*
>
> Este mensaje y sus adjuntos son confidenciales y reservados exclusivamente
> a su destinatario.
>
> Queda prohibida cualquier revelación, copia o distribución de su
> contenido. Si ha recibido este
>
> mensaje por error, notifíquelo inmediatamente por esta misma vía y borre
> el mensaje de su sistema.
>
> Los datos contenidos en las comunicaciones son tratados por EXCLUSIVAS
> CAMACHO, S. L. con
>
> domicilio en AV. ORTEGA Y GASSET 301, 29006 MÁLAGA (ESPAÑA) con el fin de
> gestionar las
>
> comunicaciones y ofrecerle la información solicitada. Puede ejercitar sus
> derechos de acceso,
>
> rectificación, supresión, oposición y limitación, remitiéndonos su
> solicitud por escrito acompañando
>
> copia de su documento de identidad. Nuestra política de protección de
> datos podrá encontrarla en
>
> https://www.e-camacho.com.
>
>
>
> *Before printing thinks if necessary, think of ENVIRONMENT.*
>
> This message and any attachments are confidential and intended for the use
> of the addressee
>
> only. Any disclosure, copying, distribution is strictly prohibited. If you
> have received this email in error,
>
> please notify the sender and delete it immediately. Personal data included
> in this email belongs to
>
> EXCLUSIVAS CAMACHO, S. L. with registered address in AV. ORTEGA Y GASSET
> 301, 29006
>
> MÁLAGA (SPAIN) and will be processed with the purpose of managing the
> communications and
>
> providing information. You are entitled to exercise your rights of access,
> rectification, erasure, object,
>
> and limitation by addressing such written application to the company,
> together with a copy of you ID
>
> card. You may consult our privacy and data protection policy in
> https://www.e-camacho.com.
>
>
> 
> Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
> Forum.Help400 © Publicaciones Help400, S.L.

Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.

RV: consulta

2018-11-13 Por tema Paco Medina - Exclusivas Camacho
Si quisiera desde el AS/400 insertar datos a una tabla de sql_Server

seria muy complicado?

 

 

Gracias

 

 

Paco Medina
Dept. Informática 
IT Clientes / IT Integration Services

Exclusivas Camacho, S. Ltd.
EORI ESB29145240
Av. J. Ortega y Gasset, 301 (Pol. San Luis)
29006 Málaga, España (SPAIN)


Tel.   +34 952 322 900
Fax   +34 952 314 900
  www.e-camacho.com
  med...@e-camacho.com 

Antes de imprimir piensa si es necesario, piensa en el MEDIO AMBIENTE.

Este mensaje y sus adjuntos son confidenciales y reservados exclusivamente a
su destinatario.

Queda prohibida cualquier revelación, copia o distribución de su contenido.
Si ha recibido este

mensaje por error, notifíquelo inmediatamente por esta misma vía y borre el
mensaje de su sistema.

Los datos contenidos en las comunicaciones son tratados por EXCLUSIVAS
CAMACHO, S. L. con

domicilio en AV. ORTEGA Y GASSET 301, 29006 MÁLAGA (ESPAÑA) con el fin de
gestionar las

comunicaciones y ofrecerle la información solicitada. Puede ejercitar sus
derechos de acceso,

rectificación, supresión, oposición y limitación, remitiéndonos su solicitud
por escrito acompañando

copia de su documento de identidad. Nuestra política de protección de datos
podrá encontrarla en

https://www.e-camacho.com.

 

Before printing thinks if necessary, think of ENVIRONMENT.

This message and any attachments are confidential and intended for the use
of the addressee

only. Any disclosure, copying, distribution is strictly prohibited. If you
have received this email in error,

please notify the sender and delete it immediately. Personal data included
in this email belongs to

EXCLUSIVAS CAMACHO, S. L. with registered address in AV. ORTEGA Y GASSET
301, 29006

MÁLAGA (SPAIN) and will be processed with the purpose of managing the
communications and

providing information. You are entitled to exercise your rights of access,
rectification, erasure, object,

and limitation by addressing such written application to the company,
together with a copy of you ID

card. You may consult our privacy and data protection policy in
https://www.e-camacho.com. 

 


Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.