Author: MS_Developer
Subject: cobol embedded sql
Posted: Fri Oct 14, 2016 2:39 pm (GMT 5.5)
Hi any body's
I'm a developer in Microsoft World, exactly MS-SQL-Server ;-)
My question ist:
How can I export W-Daten into an SQL-Server in one step and also from SQL-Server back into W-Daten?
What ist :W-Daten ? Is it an array or is it a string variable ??
How can I read this values out from :W-Daten? maybe with a Loop constructor ? in Visual Basich is it a For i=0 to x .... Next
for your information, I'm not COBOL expert only Expert in Microsoft World, exactly MS-SQL-Server ;-)
Her are a COBOL snippet :
01 W-DATEN.
05 FILLER PIC X(1024) OCCURS 500 TIMES.
EXEC SQL
insert into Tabelle (GROOOOSSSE_SPALTE)
values (:W-DATEN)
END-EXEC
This sql statement not works :-(
brgds
Frank
Subject: cobol embedded sql
Posted: Fri Oct 14, 2016 2:39 pm (GMT 5.5)
Hi any body's
I'm a developer in Microsoft World, exactly MS-SQL-Server ;-)
My question ist:
How can I export W-Daten into an SQL-Server in one step and also from SQL-Server back into W-Daten?
What ist :W-Daten ? Is it an array or is it a string variable ??
How can I read this values out from :W-Daten? maybe with a Loop constructor ? in Visual Basich is it a For i=0 to x .... Next
for your information, I'm not COBOL expert only Expert in Microsoft World, exactly MS-SQL-Server ;-)
Her are a COBOL snippet :
01 W-DATEN.
05 FILLER PIC X(1024) OCCURS 500 TIMES.
EXEC SQL
insert into Tabelle (GROOOOSSSE_SPALTE)
values (:W-DATEN)
END-EXEC
This sql statement not works :-(
brgds
Frank