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

What is the least value for Alphanumeric field?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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
Reply with quote

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

Active User


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

PostPosted: Sat Aug 19, 2006 6:32 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts S0C7 - Field getting overlayed COBOL Programming 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top