ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Read FB 80 dataset and put them in MQ

Post new topic  Reply to topic
 Read FB 80 dataset and put them in MQ « View previous topic :: View next topic » 
Author Message
myqueue
PostPosted: Wed Oct 17, 2007 2:40 am    Post subject: Read FB 80 dataset and put them in MQ Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Oct 17, 2007 2:49 am    Post subject: Reply with quote

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
View user's profile Send private message
myqueue
PostPosted: Wed Oct 17, 2007 2:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Oct 17, 2007 3:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Wed Oct 17, 2007 3:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Oct 17, 2007 3:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Wed Oct 17, 2007 3:32 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Wed Oct 17, 2007 3:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Oct 17, 2007 4:04 am    Post subject: Reply with quote

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
View user's profile Send private message
myqueue
PostPosted: Wed Oct 17, 2007 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Oct 17, 2007 4:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Read FB 80 dataset and put them in MQ
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.