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
 

 

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
ughosal

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)

Hi,
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

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
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

Hello,

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 How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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