Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 992
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 splitting of file using XMITIP abdulrafi TSO/ISPF 3 Mon Mar 27, 2017 3:01 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us