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

Active Member


Joined: 08 May 2006
Posts: 998
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm

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