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
 

 

How can you we use DFHRESP (NOTFOUND)

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

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Mon Jun 05, 2006 12:05 pm    Post subject: How can you we use DFHRESP (NOTFOUND)
Reply with quote

Hi,

While reading a record?How can you we use DFHRESP (NOTFOUND). Could you please clarify the same?

Awaiting your reply.
Back to top
View user's profile Send private message

gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Mon Jun 05, 2006 2:21 pm    Post subject:
Reply with quote

e.g
Code:
EXEC CICS STARTBR DATASET('file_Name')
          RIDFLD (data_field)
          GENERIC
          KEYLENGTH (LENGTH OF data_field)
          EQUAL
          RESP (resp_data_field)
END-EXEC.

IF resp_data_field = DFHRESP(NORMAL)
   SET SUCCESS-STARBR    TO TRUE
ELSE
   SET FAILED-STARTBR   TO TRUE
   IF resp_data_field = DFHRESP(NOTFND)
      MOVE 'Y'              TO EXIT-LOOP
   ELSE
      MOVE 'N'              TO PROCESSING-SW
Back to top
View user's profile Send private message
Husna

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Mon Jun 05, 2006 3:23 pm    Post subject:
Reply with quote

Hi Kulkarni,

Thanks a lot.
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 dfhresp(12) is coming ankit saxena CICS 12 Tue Oct 12, 2010 9:37 pm
No new posts DFHRESP 00000013 while CICS DOCUMENT ... gopugn CICS 2 Mon Jul 27, 2009 5:40 pm
No new posts how resolve DFHRESP = 16 ( INVREQ) in... sachinramesh CICS 4 Fri Jan 09, 2009 2:43 pm
No new posts Difference between DFHRESP and DFHRESP2 krishna prasad b.s CICS 4 Tue Apr 01, 2008 10:12 am


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