Author |
Message
|
myqueue |
Posted: Wed Oct 17, 2007 2:40 am Post subject: Read FB 80 dataset and put them in MQ |
|
|
Newbie
Joined: 17 Oct 2007 Posts: 6 Location: India
|
Hi All,
I want a sample program which reads a 80 byte FB dataset and puts the record as message in MQ. I would need a assembler/cobol program which does this. Since i am new to MQ, a simple program would be of great help to me.
Thanks _________________ When Going Gets Tough, the Tough Gets Going |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 17, 2007 2:49 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Any of the sample code supplied with the product, on the web or in this forum will demonstrate the principles involved.
If you're a newbie, I'd recommend COBOL over assembler.
If you're doing this as a ongoing production activity, you might want to consider some of the file-over-MQ products. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
myqueue |
Posted: Wed Oct 17, 2007 2:58 am Post subject: |
|
|
Newbie
Joined: 17 Oct 2007 Posts: 6 Location: India
|
Thanks Victor, i am under the learning curve, just wanted a sample pgm to work on as i am familiar with asm and cobol _________________ When Going Gets Tough, the Tough Gets Going |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 17, 2007 3:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
myqueue wrote: |
i am familiar with asm and cobol |
Hey, only a recommendation,if you're happy in asm then go for it!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Oct 17, 2007 3:11 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
You will get Cobol sample codes from the sample directory of MQ
I guess that will do what ever you are looking for
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 17, 2007 3:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Gaya3 wrote: |
You will get Cobol sample codes from the sample directory of MQ |
Not on z/OS, which has no concept of directories!
For the record, all the samples on z/OS are in the {HLQ}.SCSQ* DSN, where {HLQ} is the High Level Qualifier of your WMQ install. The APG gives the member names for the source, as well as JCL for assembly and linking. _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Wed Oct 17, 2007 3:39 am; edited 1 time in total |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Oct 17, 2007 3:32 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Thanks Vitor, Z/OS is pretty different.
Thanks for giving an idea about that.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
zpat |
Posted: Wed Oct 17, 2007 3:53 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Directories in Z/OS can be found in :
PDS
PDS/E
HFS
ZFS
NFS
DFS
Also when you (TCP/IP) FTP to z/OS the OS catalog levels act as directories, you can navigate with the CD subcommand up and down the catalog levels... |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 17, 2007 4:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Yeah, well I'm old school from the days when a PDS was a real PDS and if you had a member list you thought you were lucky!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
myqueue |
Posted: Wed Oct 17, 2007 4:37 am Post subject: |
|
|
Newbie
Joined: 17 Oct 2007 Posts: 6 Location: India
|
I looked in my wmq install, i couldnt apg dataset in that. can any one help me plz? _________________ When Going Gets Tough, the Tough Gets Going |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 17, 2007 4:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
myqueue wrote: |
i couldnt apg dataset in that. |
Apologies; APG = Application Programming Guide. You'll find it on the IBM site in the WMQ library as a PDF or HTML. Part 4 lists all the source code sample members.
My bad for lack of clarity  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|