View previous topic :: View next topic
|
Author |
Message |
PrabakarV
New User
Joined: 21 Dec 2007 Posts: 88 Location: My Desk
|
|
|
|
Hi,
I searched the forum about this topic...may be i am pooor in searching...
i have one question....
i am moving some value to ws-read....
Code: |
EXEC CICS READ FILE(file1)
EQUAL RIDFLD()
LENGTH()
KEYLENGTH()
INTO (ws-read)
RESP(WS-RESP)
RESP2(WS-RESP2) |
after the read command, consider the file dont have anything equal to this key... then the response will be not found... in that case whether the variable ws-read will loose its data or not...
Thanks... |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
What happened when you tried it ??
Garry. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
if the read returns a not found , then WS-READ should contain
same value it had before the read.
Like Garry suggests, you should be able to tell for sure by
testing ...
pretty basic progamming stuff. |
|
Back to top |
|
|
|