Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
PIC Representation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: PIC Representation
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Aug 01, 2008 1:06 pm    Post subject: Reply to: PIC Representation
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data representation with negative values Raghu navaikulam COBOL Programming 4 Tue Jan 14, 2014 9:36 am
No new posts PIC S9(18)V USAGE COMP-3 Representati... Suceender Kumar All Other Mainframe Topics 9 Thu Apr 11, 2013 5:25 pm
No new posts SQLCODE displayed in zoned-decimal re... Anita Etury COBOL Programming 6 Fri Nov 23, 2012 6:34 pm
No new posts Hexadecimal representation of VARCHAR Rijit COBOL Programming 16 Mon Jan 30, 2012 8:54 pm
No new posts COMP-1 & COMP-2 variables memory ... mdaskal COBOL Programming 3 Thu Aug 13, 2009 1:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us