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
 
What is the line continuation character in focus?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
rajkumarmr

New User


Joined: 29 Sep 2006
Posts: 3
Location: hyderabad

PostPosted: Thu Jan 15, 2009 5:21 pm    Post subject: What is the line continuation character in focus?
Reply with quote

My requirement is like I want a column name which has 100 characters to be printed'
It like

Code:
TABLE FILE  XXXZZZ
XXYYZZ  AS 'THIS IS A TEST DATA TO INSERT COLUMN NAME WHICH IS VERY LENGTHY'
 WHERE xxyy EQ '888'
ON TABLE HOLD AS EXTRACT FORMAT WP
END

I have tried variable name after 'AS' keyword but it is not taking the value of the varaible, it is taking varaible name itself

Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 16, 2009 3:33 am    Post subject:
Reply with quote

Hello and welcome to the forum,

Quote:
I have tried variable name after 'AS' keyword but it is not taking the value of the varaible, it is taking varaible name itself
Was the variable name in quotes? It yes, please try without the quotes and let us know what happens.
Back to top
View user's profile Send private message
rajkumarmr

New User


Joined: 29 Sep 2006
Posts: 3
Location: hyderabad

PostPosted: Fri Jan 16, 2009 9:52 am    Post subject: Thanks for the reply..
Reply with quote

The variable I used is not in quotes and it is giving varaible name in the output file not the value of it.
Even in the SYSPRINT there are no errors

Code I wrote is something like

SET AUTOTABLEF = ON
SET ASNAMES = ON

DEFINE FILE REC
WS_BSC/A44 = 'THIS IS A TEST DATA TO INSERT LENGTHY HEADER'
END

TABLE FILE REC
PRINT ACCT_NO AS 'ACCOUNT#'
BSC_CODE AS WS_BSC
ON TABLE HOLD AS EXTRACT FORMAT WP
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 16, 2009 11:18 am    Post subject:
Reply with quote

Hello,

You might try something like this:

Code:
WS_BSC/A84 = 'THIS IS A TEST DATA',
             ' TO INSERT LENGTHY HEADER',
             ' FOR A MULTI-LINE TITLE'


I don't have access to Focus on a system just now, so this wasn't tested. I believe you are allowed up to 5 lines of title.
Back to top
View user's profile Send private message
rajkumarmr

New User


Joined: 29 Sep 2006
Posts: 3
Location: hyderabad

PostPosted: Mon Jan 19, 2009 11:40 am    Post subject:
Reply with quote

If I try varaible after AS, it is taking variable name and not the value.
So we should try the title directly after AS.
But the line continuation is not the comma for title.
So it does not work if I use

BSC_CODE AS 'LOAN DESC IJFSDFLM FMLSDFKSD',
'NFKSDNFLSDKFNLDSNFFSDLFLDSNSD'
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm

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