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

Question on CICS - SEND TEXT


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lakshmanrao

New User


Joined: 24 Feb 2007
Posts: 2
Location: Ireland

PostPosted: Wed Oct 24, 2007 2:04 pm
Reply with quote

Hi

I have a program that sends a text that fits in a screen using the Standard EXEC CICS SEND TEXT command.

I need to make a change to send a text that -- do not fit -- in a single screen i.e. text of length greater than 1920.

I read somewhere that it is possible to send text of length that is greater than one full screen using SEND TEXT. But not sure on how to do this!

Any suggestion, greatly appreciated?

Regards,
Lakshman
Back to top
View user's profile Send private message
rpuhlman

New User


Joined: 11 Jun 2007
Posts: 80
Location: Columbus, Ohio

PostPosted: Wed Oct 24, 2007 3:01 pm
Reply with quote

Use the ACCUM and PAGING options of the SEND TEXT command. You may also want to use the HEADER and TRAILER options as well, depending on what your needs are. Go to the manuals page and look thru the CICS manual for details.

Rick
Back to top
View user's profile Send private message
lakshmanrao

New User


Joined: 24 Feb 2007
Posts: 2
Location: Ireland

PostPosted: Thu Oct 25, 2007 1:00 pm
Reply with quote

Thanks Rick
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 25, 2007 1:05 pm
Reply with quote

Quote:
Use the ACCUM and PAGING options of the SEND TEXT command


The answer is right from the technical point of view,
but it would be better to check with the project leader
about standards on paging/scrolling

builtin CICS commands for scrolling are not very friendly
often users lose pages ..

You are warned :-)
Back to top
View user's profile Send private message
rpuhlman

New User


Joined: 11 Jun 2007
Posts: 80
Location: Columbus, Ohio

PostPosted: Thu Oct 25, 2007 3:19 pm
Reply with quote

Hey Enrico, you are quite correct that this form of paging is quite cumbersome and unpredictable, however, reading his post lead me to believe that this sort of paging is already place at his shop.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 25, 2007 6:27 pm
Reply with quote

Quote:
....reading his post lead me to believe that this sort of paging is already place at his shop.


I did not find any hint about that,

reminding posters about organizational issues is something that,
in my philosophy of answering, should always be done,
furthermore it does not hurt :-)
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Fri Oct 26, 2007 9:02 am
Reply with quote

send with accum has always been a pain, most shy away from it and for
good reason, it can cause grief with page retrieval.

why not build your pages in temporary storage and then
write you own logic to pseudo-code logic to present the data 1920 bytes at a time to the terminal, based on a PF key. << thats the norm<<


why are you not using BMS ?
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top