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
 
Regarding PUT LIST('...');

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Wed Dec 05, 2007 9:40 pm    Post subject: Regarding PUT LIST('...');
Reply with quote

Hi all,

This is code I have written,

Code:
PUT LIST('GNANAS');
PUT LIST('SEKAR');


I expect the output like below.
Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---->
GNANASSEKAR                                                 
******************************** Bottom of Data ********************************


But original output is like below.
Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+---->
1GNANAS                  SEKAR                                                 
******************************** Bottom of Data ********************************


Why like this? What does that 1 indicate? Why spaces between GNANAS and SEKAR?

Please clarify me.
Back to top
View user's profile Send private message

Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Wed Dec 05, 2007 10:27 pm    Post subject:
Reply with quote

Gnanas,
It would be displayed in blocks of 125, If I am not wrong. If you display another variable it will be much clearer to you. '1' in the first character indicates the print character.
To obtain the output as you expected, you should use PUT EDIT.
Back to top
View user's profile Send private message
ruodeer

New User


Joined: 06 Jul 2007
Posts: 59
Location: home

PostPosted: Thu Dec 06, 2007 11:35 am    Post subject:
Reply with quote

Quote:
PUT EDIT('GNANAS','SEKAR')(A(6),A(5));
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Thu Dec 06, 2007 1:27 pm    Post subject:
Reply with quote

Thanks Srihari, Ruodeer
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 Extracting DDL for all list of intere... Ashishpanpaliya DB2 5 Mon May 21, 2018 4:08 pm
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 10 Thu Apr 12, 2018 11:33 pm
No new posts List of jobs ran thru scheduler ddhar All Other Mainframe Topics 1 Tue Mar 27, 2018 4:32 am
No new posts How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm

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