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
 

 

dfhresp(12) is coming

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

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 9:37 pm    Post subject: dfhresp(12) is coming
Reply with quote

HEY NEED HELP im trying to send a fct entry name from cics region and using this fct i m performing t command to set this fct to close and disabled,
but its not working and giving response code = 12
EXEC CICS
SET
FILE(FCT1I)
CLOSED
DISABLED
RESP(RESPONSE-CODE)
END-EXEC
DISPLAY ' RESP ' RESPONSE-CODE
here FCT1I is the field declared in map when i m displaying FCT1I it is showing correct value ,
If m directly writing the FCT1I value then its working.
but my req is to get t value from screen..

so anybody have can help me with this problem ...
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Oct 12, 2010 9:59 pm    Post subject: Reply to: dfhresp(12) is coming
Reply with quote

An EIBRESP of 12 is a FILENOTFOUND, formerly known as a DSIDERR.

SET FILE commands are LOCAL to the region where the file is defined.

It can't be used for REMOTE files.

What's the value in the FCT1I field, just prior to issuing the SET.

You can see this with CEDF....

Bill
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 10:16 pm    Post subject: re:
Reply with quote

THE VALUE IS SAME AS I WANT, BUT ITS STILL SHOWING EIBRSP = 12

AND ITS WORKING WEN I M WRITING THE NAME OF FILE INSTEAD OF THE VARIABLE NAME..
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Oct 12, 2010 10:32 pm    Post subject: Reply to: dfhresp(12) is coming
Reply with quote

Apparently, the value you want and the value being used are different.

There's not much more anyone can do.

Is the file-name UPPER case, a mixture of both or lower case.

Have you tried testing this with CECI.

Did you issue a CEMT to ensure the file is defined locally to your region?

Bill
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 10:38 pm    Post subject: re:
Reply with quote

EVERY THING IS WORKING FINE IF I M HARDCODING THE VALUE OF FCT ENTRY , PROBLEM IS COMING ONLY WHEN I M TRYING TO PUT THAT VALUE IN A VARIABLE ,AND I M USING THAT VARIABLE....
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Oct 12, 2010 10:50 pm    Post subject: Reply to: dfhresp(12) is coming
Reply with quote

The variable used for ALL file-names must be 8-Bytes, padded with low-order spaces (when applicable).

Is this what you're using?

Try using mixed-case in your postings. All UPPER-CASE implies YELLING!

Bill
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 10:58 pm    Post subject: sorry
Reply with quote

sorry for the upper case actually currently also m working on mainframe so i put t caps lock on ....

can u pls give me an example of t picture clause of variable to be used,,

i was using
01 var pic x(5).

so do u mean this is t problem ??..
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7906
Location: Bellevue, IA

PostPosted: Tue Oct 12, 2010 11:04 pm    Post subject:
Reply with quote

The SET FILE command in the CICS Systems Programming Reference says
Quote:
FILE(data-value)
specifies the 8-character file name defined in the file control table (FCT).
When the manual says 8 bytes, the manual generally means 8 bytes!
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 11:09 pm    Post subject: thanx
Reply with quote

but my file name is 'NG36f'
i should use 8 byte for this also ???
can u pls tell me the picture clause , which i should use...
as initially i was using pic X(5).
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Oct 12, 2010 11:14 pm    Post subject: Reply to: dfhresp(12) is coming
Reply with quote

Check Robert's posting. It's self-explanatory....

Bill
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7906
Location: Bellevue, IA

PostPosted: Tue Oct 12, 2010 11:16 pm    Post subject:
Reply with quote

If you specify 5 bytes, the last three bytes of the FCT entry will be taken from whatever the next three bytes in your program are. They might be okay, but they might cause a response code 12. Change the variable to 8 bytes and move on to a REAL problem, not one you caused yourself.
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 11:17 pm    Post subject: re:
Reply with quote

i mean which usage class should i use...
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Tue Oct 12, 2010 11:17 pm    Post subject: re:
Reply with quote

thanx...
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 need help on SAS, new line is coming ... sushidas IBM Tools 2 Thu Jan 31, 2013 12:41 am
No new posts REXX Function: Output coming out when... jrlsage CLIST & REXX 9 Fri Oct 12, 2012 2:32 am
No new posts STRING - To space out a word if comin... vinu78 COBOL Programming 11 Wed Aug 25, 2010 9:27 pm
No new posts Possible Abends for a tran when the r... Bill O'Boyle CICS 8 Tue Mar 02, 2010 8:58 pm
No new posts SYSOUT statement not coming for a step dbzTHEdinosauer JCL & VSAM 4 Thu Jan 21, 2010 3:32 pm


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