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: 10211
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 CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
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
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm

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