IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Tab SEPERATOR H'05'


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Tue Oct 07, 2008 11:12 am
Reply with quote

Actually the requirement is to put a seperator value in the FILLER A1
as H'05' . I have never encountered such thing previously.

Can anyone help me on this.

Regards
beruoist
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Oct 07, 2008 2:29 pm
Reply with quote

Is it something related to Natural? MQ? Can you elaborate more, maybe with some sample?

O.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Oct 07, 2008 3:15 pm
Reply with quote

the value is x'05' not h'05'.
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Tue Oct 07, 2008 7:09 pm
Reply with quote

No,Its something related to creating tabs(purpose can be downloading it to excel) .Not sure why they asked us to code like that.But below is the thing what i found out.


1 SOME-DATA (A10)
1 Redefine SOME-DATA
2 A-data (A2)
2 Filler1 (A1)
2 B-data (A2)
2 filler2 (A1)
2 C-data (A4)

move H'05' to Filler1 Filler2
Move 'AB' to A-data
move 'CD' to B-data
move 'EFGH' to C-data

write work file 1 some-data

The data will look as follows in browse mode

AB.CD.EFGH

and in edit mode

AB BC EFGH

PLEASE REVIEW AND POST YOUR SUGGESTIONS
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Tue Oct 07, 2008 7:15 pm
Reply with quote

Ofer,

It is related to creating reports,though there are many other easier and known ways to create tabs,they asked me to do in thier own way.

Can't help as i had never heard of it.The requirement says

Field variable Pos Length Database field Remark
#VAR-A 5 A3 XYZ
# FILLER-1 6 A1 H’05’ Excel separator

Thanks
beruoist
Back to top
View user's profile Send private message
helga

New User


Joined: 11 Sep 2006
Posts: 23

PostPosted: Tue Oct 07, 2008 7:50 pm
Reply with quote

Quote:
the value is x'05' not h'05'.
Not true. It's H'05' in Natural.


...which is what we're talking about here.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 08, 2008 12:31 am
Reply with quote

Hello,

Quote:
It is related to creating reports,though there are many other easier and known ways to create tabs,they asked me to do in thier own way.
When you download data to use in a pc application (like a spreadsheet), it is most common to download a "tab-delimited" file.

The Hex'05' is the tab character.

When you become familiar/comfortable with this approach, you will find it may be the easiest way to create data to download for win-based reporting/loading.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Rexx Logic error while adding seperat... CLIST & REXX 3
No new posts Hot to get timestamp in HHMMSSMS with... DFSORT/ICETOOL 1
Search our Forums:

Back to Top