Re: Diffence between two CICS READ ; FILE & DATASET





>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<

Am 27.07.05, 05:38:20, schrieb "Praveen" <praveen.unnithan@xxxxxxxxx>
zum Thema Diffence between two CICS READ ; FILE & DATASET:


> Hi,

> I am a newbie in CICS COBOL. I came across two possible syntax to read
> a file from a CICS program. The two syntax that I came across were

> EXEC CICS
> READ DATASET ('RASSPLSW')
> INTO (RASSPLSW-RECORD)
> RIDFLD (W-USERID)
> RESP (W-RESP)
> END-EXEC.


> EXEC CICS
> READ FILE('RASSPLSW')
> INTO(USRRECC)
> RIDFLD(CURRUSR)
> END-EXEC.

> The two syntax mainly differ only in the use of FILE || DATASET. I
> would like to know this diffence...

> Thanks alot for your valuable time.

Hello
Take a look at your working storage section. One takes the field w-*
and the other takes the fields USRRECC and CURRUSR. It is a kind of
implemenation.
Einen schoenen Tag
Andreas Lerch



.



Relevant Pages

  • Re: Diffence between two CICS READ ; FILE & DATASET
    ... > I am a newbie in CICS COBOL. ... I came across two possible syntax to read ... if you specify the "NOHANDLE" keyword. ...
    (comp.lang.cobol)
  • Re: Diffence between two CICS READ ; FILE & DATASET
    ... I am a newbie in CICS COBOL. ... I came across two possible syntax to read ... At some point in the past IBM changed the syntax of EXEC CICS READ and recommended using FILE for all future READ commands, but they still had to support the DATASET keyword in order to allow older CICS programs to compile and execute without any source code changes. ...
    (comp.lang.cobol)
  • Diffence between two CICS READ ; FILE & DATASET
    ... I am a newbie in CICS COBOL. ... I came across two possible syntax to read ... a file from a CICS program. ... EXEC CICS ...
    (comp.lang.cobol)
  • Re: IBM, CICS, COBOL, et al
    ... > Old applications that do NOT use syntax that is no longer supported, ... > certainly be recompiled and run under the new CICS TS. ... Pete. ...
    (comp.lang.cobol)