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

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


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 29, 2008 2:53 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Exclude rows with > than x occurre... DFSORT/ICETOOL 6
No new posts File matching functionality in Easytr... DFSORT/ICETOOL 14
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
No new posts Cobol Db2 program (inserting Char Equ... COBOL Programming 0
Search our Forums:

Back to Top