Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
temporary storage queue

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

New User


Joined: 19 Jul 2018
Posts: 10
Location: Greece

PostPosted: Mon May 20, 2019 1:54 pm    Post subject: temporary storage queue
Reply with quote

Hi all,

For educational reasons I am trying to write a program which reads from a database , loads a ts queue and then show contents in a separate transaction by pages.
I am stuck in the loading process. Queue elements are an array of text data.
My write queue command is

EXEC CICS WRITEQ TS QUEUE ('TEXT-QUEUE')
FROM QUEUE-ARRAY
NUMITEMS (CA-NUM-ITEMS)
RESP (RESP-CODE)
END-EXEC

The program gives a compile error for this (exec cics was found but cics compiler option was not in effect). I have cics statements before and they are translated ok so I assume my writeq command has some errors.

Any ideas?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8449
Location: Dubuque, Iowa, USA

PostPosted: Mon May 20, 2019 3:51 pm    Post subject: Reply to: temporary storage queue
Reply with quote

The manual says QUEUE is 1 to 8 characters.
Back to top
View user's profile Send private message
Ziko13

New User


Joined: 19 Jul 2018
Posts: 10
Location: Greece

PostPosted: Mon May 20, 2019 4:25 pm    Post subject:
Reply with quote

changed it to queue1 but still the same
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8449
Location: Dubuque, Iowa, USA

PostPosted: Mon May 20, 2019 6:03 pm    Post subject: Reply to: temporary storage queue
Reply with quote

Did you not look at the manual before you posted here? If so, did you notice that FROM(data-area) is the syntax -- NOT FROM data-area? You've made two syntax errors in one EXEC CICS statement, neither of which needed more than a short perusal of the manual to uncover. This forum is for professionals -- you know, people who read the manual? Perhaps you should stop posting here and start posting in Beginners and Students Forum instead?
Back to top
View user's profile Send private message
Ziko13

New User


Joined: 19 Jul 2018
Posts: 10
Location: Greece

PostPosted: Mon May 20, 2019 6:22 pm    Post subject:
Reply with quote

yes it was the parenthesis. i should have been more carefull while reading the mannual yes. sorry for the inconvenience
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 Storage usage in a web service provider. John Poulakos CICS 0 Tue Jun 04, 2019 8:12 pm
No new posts Get line number where cursor is from ... satish.ms10 CLIST & REXX 3 Wed Oct 24, 2018 12:23 am
No new posts Send data from a CICS TS program to M... spiThingy CICS 2 Wed Aug 08, 2018 8:58 am
No new posts No message in reply queue!! Vignesh Sid Java & MQSeries 3 Thu Jan 11, 2018 10:45 am
No new posts INSUFFICIENT VIRTUAL STORAGE!! Vignesh Sid SYNCSORT 1 Thu Dec 28, 2017 3:45 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us