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
 
What is the least value for Alphanumeric field?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
asvijay

New User


Joined: 13 Jul 2006
Posts: 11

PostPosted: Thu Aug 03, 2006 11:30 am    Post subject: What is the least value for Alphanumeric field?
Reply with quote

Hi,
Does anybody know the least value for Alphanumeric field. For ex..
77 WS-A PIC X(03).

the least value of WS-A is Zero or Spaces or something else?

Regards,
Vijay
Back to top
View user's profile Send private message

syntelraj
Warnings : 1

New User


Joined: 28 Jul 2006
Posts: 10
Location: Pune

PostPosted: Thu Aug 03, 2006 12:49 pm    Post subject: Re: What is the least value for Alphanumeric field?
Reply with quote

Hi Vijay,
The least value will be LOW-VALUES in the collating sequence i.e. x'00000000'. It will displayed as '....' in normal character mode.

Correct me guys. if i am wrong.
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Thu Aug 03, 2006 12:55 pm    Post subject:
Reply with quote

I think Hex value zero is the lowest value in an alpha numeric field..this is the value that gets moved when we used cobol keyword low-values.

Please corect me if I am wrong..!
Back to top
View user's profile Send private message
sihanature
Warnings : 1

New User


Joined: 01 Sep 2005
Posts: 33

PostPosted: Thu Aug 03, 2006 6:40 pm    Post subject: Re: What is the least value for Alphanumeric field?
Reply with quote

Hi

The leaset value or LOW-VALIES in the Alphanumric of OS/390 is X'00' and which is EBCDIC representation.

Hoep i'm correct.

Regards,
Back to top
View user's profile Send private message
asvijay

New User


Joined: 13 Jul 2006
Posts: 11

PostPosted: Mon Aug 07, 2006 11:24 am    Post subject:
Reply with quote

Thanks guys..
Back to top
View user's profile Send private message
cobolunni

Active User


Joined: 07 Aug 2006
Posts: 128
Location: kerala,india

PostPosted: Sat Aug 19, 2006 6:32 pm    Post subject: Re: What is the least value for Alphanumeric field?
Reply with quote

in the z/os i run a program moving low-value to alphanumeric field i got space displayed
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Aug 19, 2006 9:14 pm    Post subject:
Reply with quote

Use SDSF to view the SYSOUT that contains the display. In the cmd line enter HEX.

You will see the HEX binary zeros that are unprintable characters.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am


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