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 » WebSphere Message Broker (ACE) Support » Fetch from table

Post new topic  Reply to topic
 Fetch from table « View previous topic :: View next topic » 
Author Message
dinu7102
PostPosted: Thu May 18, 2017 7:36 am    Post subject: Fetch from table Reply with quote

Newbie

Joined: 14 May 2017
Posts: 8

Hi All,

My aim is to fetch the data from table from head to trail and each row need to keep into file.

IF I want to fetch the data for 987.Please let me know how to fetch and keep into file.

column 1 column 2 column 3
10 HEAD : 987 {A1}
20 COL : 987 {B1}
30 COL : 987 {C1}
40 COL : 987 {D1}
50 TAIL : 987 {E1}
10 HEAD : 989 {F1}
20 COL : 989 {G1}
30 COL : 989 {H1}
40 COL : 989 {J1}
50 TAIL : 989 {K1}
-----------------------------------------------------------
EXPECTED
OUTPUT File : {A1}
{B1}
{C1}
{D1}
{E1}
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu May 18, 2017 7:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I would suggest a WHERE clause. Or retrieve all the data and go through it with code, as you did here.

I would also suggest you start trying to work things out for yourself, rather than just asking here. Even if you're new to the technologies, we're not a training resource.
_________________
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 » WebSphere Message Broker (ACE) Support » Fetch from table
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.