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
 

 

EXEC CICS START TRANSID()FROM()..can it b (commarea-data)??

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

New User


Joined: 01 Jul 2008
Posts: 60
Location: Kolkata

PostPosted: Sun Jul 19, 2009 1:41 pm    Post subject: EXEC CICS START TRANSID()FROM()..can it b (commarea-data)??
Reply with quote

Hi,

When we use START transID(xyz1) from (data area) ,the next program associated with that transid will be invoked and we do RETRIEVE into(data area).
Can I use commarea-data while starting, within the FROM(commarea-data) and retrieve into (commarea-data) when commarea-data is the linkage section DFHCOMMAREA..

If my question seems misconception regarding START command then Please provide any link where all start command instances I can get..
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: Sun Jul 19, 2009 4:10 pm    Post subject: Reply to: EXEC CICS START TRANSID()FROM()..can it b (commare
Reply with quote

If EIBCALEN equals the length of the commarea-data that you expect and the commarea-data contains the data that you expect, I see no reason why the commarea-data can't be used as the FROM keyword. You can use EIBCALEN as the LENGTH keyword.
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: Sun Jul 19, 2009 7:29 pm    Post subject: Reply to: EXEC CICS START TRANSID()FROM()..can it b (commare
Reply with quote

When you issue the RETRIEVE, the EIBCALEN must equal the anticipated value, then you can retrieve into DFHCOMMAREA.

Otherwise, if EIBCALEN < 1, then you would need to issue a RETRIEVE with a SET.

Note that if the target transaction is attached to a terminal and has already issued a RETURN with TRANSID with a commarea, you will wipe-out this posted commarea. This is why EIBCALEN would be non-zero.

So, to eliminate wiping-out a previously posted commarea, the STARTED transid should not be attached to a terminal and with that, EIBCALEN would always be < 1. In other words, there wouldn't be a commarea.

Having said this, I think you'd be much better off issuing a RETRIEVE into a WORKING-STORAGE area. Then, go from there.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Mon Jul 20, 2009 3:02 am    Post subject:
Reply with quote

Quote:
If my question seems misconception regarding START command then Please provide any link where all start command instances I can get..


Frst: You need to learn how to use the WEB browser and Google
for CICS Applications Progammers Guide.

Second: Do not retrieve into DFHCOMMAREA for a transaction that
has been autostarted..

Go ahead and try it, the next thing you will hear, is your Systems
Programmer calling , telling you about storage violations or worse,
that you just crashed' the system !
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jul 20, 2009 3:15 am    Post subject:
Reply with quote

Hello,

Quote:
Frst: You need to learn how to use the WEB browser and Google
for CICS Applications Progammers Guide.
or, you can follow the "IBM Manuals" link at the top of this page icon_wink.gif

There are 3 sets of CICS Language Reference and Application Programming Guide manuals linked.
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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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