Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Tab SEPERATOR H'05'

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: Tab SEPERATOR H'05'
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: 2360
Location: Israel

PostPosted: Tue Oct 07, 2008 2:29 pm    Post subject:
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    Post subject: Reply to: Tab SEPERATOR H'05'
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    Post subject: Reply to: Tab SEPERATOR H'05'
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    Post subject: Reply to: Tab SEPERATOR H'05'
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    Post subject: Reply to: Tab SEPERATOR H'05'
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

Site Director


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

PostPosted: Wed Oct 08, 2008 12:31 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Hot to get timestamp in HHMMSSMS with... Gnanas N DFSORT/ICETOOL 1 Tue Apr 10, 2012 7:12 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us