View previous topic :: View next topic
|
Author |
Message |
rajantsr
New User
Joined: 31 Jan 2007 Posts: 21 Location: Chennai
|
|
|
|
Hi Guys...
How to use DFHL3270 to send map and recieve maps..
A sample cobol program will help a lot..
Thanks,
Rajan |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
rajantsr
New User
Joined: 31 Jan 2007 Posts: 21 Location: Chennai
|
|
|
|
sorry for creating another thread.. I don't know how to add an attachment to an active thread.. hence started one...my apologies.
Here is the picture of what I am thinking about the problem.. can anyone of you help me on this.. when I went thru manuals it was not that clear.. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
rajantsr,
IF you are trying to run your example CICS transaction from a batch cobol program, its not possible unless you use a 3rd party product.
review this link >> Use [URL] BBCode for External Links
With batchcics, code might look like this::
EXEC HBI RUN TRANSACTION ('FI01')
OUTBOUND MAP ('MI00101') MAPSET ('MI00101')
END-EXEC.
** MOVE INPUT01 FIELDS TO MI00101 MAP FIELDS.
EXEC HBI REPLY INBOUND MAP ('MI00101') MAPSET ('MI00101')
OUTBOUND MAP ('MI00101') MAPSET ('MI00101')
END-EXEC.
** MOVE MI00101 MAP FIELDS TO OUTPUT01 FIELDS. |
|
Back to top |
|
|
rajantsr
New User
Joined: 31 Jan 2007 Posts: 21 Location: Chennai
|
|
|
|
Thanks Earl.
I thought the LINK3270 does something like this... ??? |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
rajantsr,
Yes, LINK3270 bridge allows for running CICS transactions, but has no
direct relationship with running from Batch, AND is not that easy to
use.
Most 3rd party vendors use LINK3270 bridge or FEPI under the covers,
and provide either a Scripting language to drive 3270 navigation. (Does not run in batch).
BatchCICS is the only software I have seen that offers an EXEC
command feature for 3270 Navigation, that functions with either BATCH or CICS COBOL programs.
Regards,
Earl |
|
Back to top |
|
|
|