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
 

 

Difference between TSQ and DFHCOMMarea

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
hmurali
Warnings : 1

New User


Joined: 08 Mar 2005
Posts: 17

PostPosted: Thu Nov 10, 2005 8:53 am    Post subject: Difference between TSQ and DFHCOMMarea
Reply with quote

Difference between TSQ and DFHCOMMarea,

Maximum length of COMMAREA
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Nov 10, 2005 9:25 am    Post subject: Re: CICS
Reply with quote

Quote:
Difference between TSQ and DFHCOMMarea,

1> COMMAREA is limited to a single transaction and used to pass data between programs for that, But no such limitation with TSQ.
2> COMMAREA is limited in terms of length of data lesser than TSQ.

Quote:
Maximum length of COMMAREA

32K

Regards,

Priyesh.
Back to top
View user's profile Send private message
Firdause

New User


Joined: 07 Aug 2008
Posts: 1
Location: Pune

PostPosted: Thu Aug 07, 2008 5:08 pm    Post subject: Reply to: Difference between TSQ and DFHCOMMarea
Reply with quote

Hi,

Does anybody know what the maximum size of a TSQ is?

COMMAREA for sure is 32K, but I'm unable to find the system max limit for any TSQ.

Thanks,
Firdause.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Fri Aug 08, 2008 7:36 am    Post subject:
Reply with quote

The manual says for WRITEQ TS
Quote:
LENGTH(data-value)
specifies the length, as a halfword binary value, of the data to be written.

You must specify this option if you are using SYSID.

The maximum length is 32763. For a description of a safe upper limit, see "LENGTH options in CICS commands" in topic 1.1.5.
but topic 1.1.5 says
Quote:
1.1.5 LENGTH options in CICS commands

In COBOL, PL/I, and assembler language, the translator defaults certain lengths, if the NOLENGTH translator option is not specified. This means they are optional in programs that specify data areas.

In C, all LENGTH options must be specified.

When a CICS command offers the LENGTH option, it is generally expressed as a signed halfword binary value. This puts a theoretical upper limit of 32 763 bytes on LENGTH. In practice (depending on issues of recoverability, function shipping, and so on), the achievable upper limit varies from command to command, but is somewhat less than this theoretical maximum. To be safe, do not let the value assigned to the length option for any CICS command exceed 24KB.

This advisory 24KB limit does not apply to the FLENGTH option on CICS commands. The FLENGTH option is used on commands relating to containers and journals, among others.

For temporary storage, transient data, and file control commands, the data set definitions may themselves impose further restrictions.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts Difference Between CICS WebSupport an... sachinji84 CICS 1 Mon Mar 07, 2016 7:25 pm
No new posts Difference between -180 and -181 with... deepak_shrivastava DB2 4 Wed Jan 06, 2016 10:00 am


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