View previous topic :: View next topic |
Author |
Message |
jagbrew Beginner
Joined: 09 Aug 2004 Posts: 5 Topics: 4
|
Posted: Thu Aug 12, 2004 10:33 am Post subject: Can you have 2 CICS commands in 1 EXEC CICS block? |
|
|
Any clue on the documentation for this? |
|
Back to top |
|
 |
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Thu Aug 12, 2004 10:47 am Post subject: |
|
|
If you mean something like
Code: |
EXEC CICS
READ FILE('X') INTO(Y) RIDFLD(Z)
WRITE FILE('X') FROM(Y) RIDFLD(Z)
END-EXEC.
|
Then you definitely can't do it. EXEC CICS ... END-EXEC. defines exactly one CICS command. Multiple commands would cause a translator failure as CICS interpreted them as incorrect parameters of the first command.
Given that this can't done, there will not be any documentation on it.
Questions:
Why did you think this could be done?
Why would you want to do it - what problem are you trying to solve?
(This is not the same thing, but at runtime you CAN have CICS commands 'embedded' in CICS commands - in a task-related user exit or global user exit - but the commands are actually coded in different programs. But this is a low level system programmer/3rd party software technique). |
|
Back to top |
|
 |
|
|