IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Replacement of EXEC CICS BIF DEEDIT Command


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mahesh_ra

New User


Joined: 12 Sep 2007
Posts: 4
Location: Chennai

PostPosted: Tue Oct 09, 2007 7:02 pm
Reply with quote

Hi,

We are trying to make our Application Threadsafe and since EXEC CICS BIF DEEDIT is a non Threadsafe Command has anyone tried replacing it with Simple COBOL Code. If so can you please post the Code.

Has anyone had difficulties in doing the same.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Oct 09, 2007 9:05 pm
Reply with quote

It shouldn't be too hard to loop through a field.....Why don't you give it a try...
Back to top
View user's profile Send private message
mahesh_ra

New User


Joined: 12 Sep 2007
Posts: 4
Location: Chennai

PostPosted: Wed Oct 10, 2007 12:31 pm
Reply with quote

I am able to Loop Through and remove the Non Numeric Charachters but the Trouble comes only when we have a X'A' thru X'F' in the last Postion....How do we take care of that and the Negative Values.
Back to top
View user's profile Send private message
mahesh_ra

New User


Joined: 12 Sep 2007
Posts: 4
Location: Chennai

PostPosted: Wed Oct 10, 2007 12:44 pm
Reply with quote

Hi,

I would like to check if a Particular Charachter in COBOL x(??) Variable is between the Following the X('A0') and x('F0'). Has any one done the same in COBOL.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Oct 10, 2007 2:46 pm
Reply with quote

You need to split the last byte and examine each half separately....
The left half needs to be in the range of A thru F while the right half needs to be in the range of 0 thru 9....
A little redefinition and a binary to display conversion will ease the splitting of the last digit.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top