View previous topic :: View next topic
|
Author |
Message |
mssraju44
New User
Joined: 19 Sep 2007 Posts: 2 Location: USA
|
|
|
|
Hi, I have an already existing SRC COBOL program in production. As per our new business requirement, I need to invoke a new S03 program with CICS EXEC statement in it from the above SRC program. When I do the same, I am getting ASRA abend when I refer to the variables in the linkage sections.
Please advise.
Thanks,
Vijay |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Vijay and welcome to the forums,
I am not familiar with the terms "SRC COBOL" and "S03 program".
If you provide a bit more clarification, we may be able to offer suggestions. |
|
Back to top |
|
|
mssraju44
New User
Joined: 19 Sep 2007 Posts: 2 Location: USA
|
|
|
|
Hi, thanks for the response.
Sorry about the ambiguity. I wrote it in the layman terms. I think what I have written below is also in layman terms.
Both SRC and S03 programs are cobol programs. SRC programs do not have any CICS commands in them whereas S03 programs have CICS commands in them. By default an SRC program on compilation will produce only the batch load module. We need to relink the batch load module to create the cics load module which will be executed in the cics environment. An S03 program will create cics load module by default upon recompilation. The problem we are facing is, when the cics load module of the SRC program invokes the cics load module of S03 program, its abending.
Thanks,
Vijay |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
We need to relink the batch load module to create the cics load module |
A batch load module uses system services NOT ALLOWED in a CICS module
Unless You were confused in Your description of the problem, it looks like Your
organization is taking a wrong approach
regards
e.s |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
As Enrico mentions, there are batch components that cannot run in CICS.
Many organizations create 2 modules that provide similar functionality - one for online and one for batch. |
|
Back to top |
|
|
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
Go to concur with enrico.
Besides, per your definition:
Quote: |
an SRC program on compilation will produce only the batch load module
|
So how on earth can you expect:
Quote: |
when the cics load module of the SRC program invokes the cics load module of S03 program
|
to happen?
Either you have misstated your situation or the person who planned this application doesn't have a clue about CICS. |
|
Back to top |
|
|
|