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

PIC Representation


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ashokn

New User


Joined: 25 Jun 2008
Posts: 13
Location: Bangalooru

PostPosted: Fri Aug 01, 2008 12:35 pm
Reply with quote

Hi,

In PL/1 I'm using PIC '999' to format some field.But here I need 1st character as 0 always.
Ex: If I enter 12, output should be 012.

Is the PIC representation PIC '999' is ok? If not please modify the PIC format.

Thanks in advance....
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Aug 01, 2008 1:06 pm
Reply with quote

why don' You try ?
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Data representation with negative values COBOL Programming 4
No new posts PIC S9(18)V USAGE COMP-3 Representati... All Other Mainframe Topics 9
No new posts SQLCODE displayed in zoned-decimal re... COBOL Programming 6
No new posts Hexadecimal representation of VARCHAR COBOL Programming 16
No new posts COMP-1 & COMP-2 variables memory ... COBOL Programming 3
Search our Forums:

Back to Top