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 how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am


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