Re: Diffence between two CICS READ ; FILE & DATASET
- From: Andreas Lerch <andreas@xxxxxxxxxxxxxxxx>
- Date: Wed, 27 Jul 2005 16:24:11 GMT
>>>>>>>>>>>>>>>>>> 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
.
- References:
- Diffence between two CICS READ ; FILE & DATASET
- From: Praveen
- Diffence between two CICS READ ; FILE & DATASET
- Prev by Date: Telecommute Contracting
- Next by Date: Re: Telecommute Contracting
- Previous by thread: Re: Diffence between two CICS READ ; FILE & DATASET
- Next by thread: Re: Diffence between two CICS READ ; FILE & DATASET
- Index(es):
Relevant Pages
|
|