Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in


problem in Job submission from CICS/CA-IDEAL

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

New User

Joined: 23 Jun 2005
Posts: 3

PostPosted: Thu Jun 23, 2005 5:20 am    Post subject: problem in Job submission from CICS/CA-IDEAL
Reply with quote

(This is a copy of the query submitted in CICS section)

I am a CA-IDEAL user (which is a programming language based on CICS), but I am not conversant with the concepts of CICS. So please try to be simple in CICS terms.

I am trying to submit a batch Job from an online IDEAL program (say, transaction 'A'). I am following the same logic which an existing program does (say, trxn 'B'):
1. (CICS) ENQueue internal reader (which is defined as an IDEAL sequential dataview)
2. Create the JCL statements and write onto the internal reader
3. (CICS) DEQueue the internal reader

(Note: I am using the same job userid as in the other existing program 'B'. Otherwise job fails due to RACF authorisation.)

Now the problem is:
The job supposed to be submitted from my transaction (A) never actually gets submitted until and unless I submit transaction B (which is the existing one.) Job B seems to push out job A from the internal reader.
I am confused and utterly distressed. (Is internal reader mapped to a particular CICS transaction?)

One colleage remembers that another person (who has resigned) encountered similar problem a year back, and he recollects that then there was a discussion on the difference between something called a 'background' job and a 'batchground' job!! What the hell is it?

(Note: the job A gets submitted from an IDEAL subprogram which is 'INITIATE'd rather than being 'CALL'ed from main program. INITIATE runs the subprogram parallel to the main program, as a separate thread.)

Any quick resolution/suggestion would be very highly appreciated.
Back to top
View user's profile Send private message


Global Moderator

Joined: 14 Mar 2007
Posts: 10176
Location: italy

PostPosted: Thu Oct 23, 2008 9:09 pm    Post subject: Reply to: problem in Job submission from CICS/CA-IDEAL
Reply with quote

deleted all the post containing an email address and requesting to send
CA manuals ( even if the posts are old )
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: Fri Oct 24, 2008 3:25 am    Post subject:
Reply with quote


In IDEAL, your sequential dataview contains a ddname (if you have permission, enter the command "dis dvw the-dvw-name v prod". You should be able to see the ddname.

Make sure there is a dd with the same ddname in the cics startup.

There is typically no need/reason to try to enqueue the internal reader - this was probably done due to poor performance that caused jobs/jcl to be interleaved. Create an internal array in the IDEAL working data and build the complete JCL in the array. Once it is built, write it to the internal reader dvw. It may help if your last entry in the submitted jcl is "/*EOF".
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm

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