Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
does it initialize while EXEC CICS READ FILE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
PrabakarV

New User


Joined: 21 Dec 2007
Posts: 88
Location: My Desk

PostPosted: Fri Dec 04, 2009 3:25 pm    Post subject: does it initialize while EXEC CICS READ FILE
Reply with quote

Hi,

I searched the forum about this topic...may be i am pooor in searching... icon_sad.gif
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
View user's profile Send private message

Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1005
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Dec 04, 2009 5:41 pm    Post subject:
Reply with quote

What happened when you tried it ??

Garry.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sat Dec 05, 2009 6:22 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Procopt G -concurrent Read balacsv2 IMS DB/DC 0 Mon Apr 23, 2018 5:03 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 4 Sat Apr 14, 2018 1:58 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us