Read a sequential file with SQL
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Application Programming

#1: Read a sequential file with SQL Author: Gerd Hofmans PostPosted: Mon Nov 28, 2016 5:32 am
    —
Hi,
I need to read a sequential file on z/OS with SQL, but cannot find a decent manual how to do this, nor the JCL to use for this.
Do you have any suggestion where to look?
Kind Regards, Gerd.

#2:  Author: CZerfas PostPosted: Mon Nov 28, 2016 9:57 am
    —
SQL is the front-end to work with the contents of DB2 databases. You cannot read sequential files with SQL.

regards
Christian

#3:  Author: kolusuLocation: San Jose PostPosted: Mon Nov 28, 2016 10:37 am
    —
Gerd Hofmans,

AS/400 (Application System/400) lets you read a file as SQL and lets you query the file.

on z/OS you can read the file and access a DB2 table using a cursor/stand-alone sql and perform your reporting/calculations/data manipulation.

Let us know if you need examples of that.



MVSFORUMS.com -> Application Programming


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group