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
 

 

DataType 'S' in PL/I is equivalent to CHAR

 
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 29, 2008 2:53 pm    Post subject: DataType 'S' in PL/I is equivalent to CHAR
Reply with quote

Hi,

DataType 'S' in pl/1 is equivalent to CHAR? or
does it represent any other datatype?

Please reply....
Ashok
Back to top
View user's profile Send private message

Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Aug 29, 2008 5:06 pm    Post subject:
Reply with quote

Can you please elaborate your question with an example?
Back to top
View user's profile Send private message
Ashokn

New User


Joined: 25 Jun 2008
Posts: 13
Location: Bangalooru

PostPosted: Fri Aug 29, 2008 5:14 pm    Post subject: DataType 'S'
Reply with quote

Hi,

In some language there is declaration like:
AA 1 52 S --> where AA is the field occupying 1 to 52 places and S is the datatype.

But how can I represent it in pl/1?
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Aug 29, 2008 5:22 pm    Post subject:
Reply with quote

You can declare the following way, If I understand your requirement correctly.
DCL AA CHAR(52) VARYING;

May I know, what is that
Quote:
some language
?
Back to top
View user's profile Send private message
Ashokn

New User


Joined: 25 Jun 2008
Posts: 13
Location: Bangalooru

PostPosted: Fri Aug 29, 2008 5:25 pm    Post subject: DataType 'S'
Reply with quote

That is in Gener/OL language...
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 Comparing Decimal and CHAR columns rakesh17684 DB2 7 Thu Oct 20, 2016 2:33 am
No new posts conversion from char to packed decimal Musab Ahmed DFSORT/ICETOOL 7 Fri Apr 08, 2016 1:12 pm
No new posts Converting field from char to number danylele74 DB2 4 Tue Mar 29, 2016 4:24 pm
No new posts Converting s9(9) comp field to char l.nethaji DFSORT/ICETOOL 3 Fri Jan 22, 2016 12:14 pm
No new posts How to convert char to hex krrp COBOL Programming 4 Mon Oct 26, 2015 10:50 pm


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