Insert and 256 character limit

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Insert and 256 character limit

Kathy Reinig
Hi, we're trying to use Insert to make use of a macro set in various other syntax files.  However, we have lines of well over the 256 character limit that we can't really shorten.  Is there a command or notation I'm not seeing that permits the continuation of the command on multiple lines or are we simply unable to use Insert for these macros?

thanks, Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194





Reply | Threaded
Open this post in threaded view
|

Re: Insert and 256 character limit

Rick Oliver-3
Unless you have strings with no spaces that exceed 256 characters, then you can probably split the macro specifications on to multiple lines.

Perhaps you could provide a few examples of lines you don't think can be split?

Rick Oliver
Senior Information Developer
IBM Business Analytics (SPSS)
E-mail: [hidden email]




From:        Kathy Reinig <[hidden email]>
To:        [hidden email],
Date:        09/19/2013 10:43 AM
Subject:        Insert and 256 character limit
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hi, we're trying to use Insert to make use of a macro set in various other syntax files.  However, we have lines of well over the 256 character limit that we can't really shorten.  Is there a command or notation I'm not seeing that permits the continuation of the command on multiple lines or are we simply unable to use Insert for these macros?

thanks, Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194
Kathy.Reinig@...





Reply | Threaded
Open this post in threaded view
|

Re: Insert and 256 character limit

Kathy Reinig
Maybe I'm misunderstanding what the issue is -- can commands be over 256 characters so long as they are not indented?  Do I merely have to remove the indent?

We have a save command which needs to list the variables to be saved and that /KEEP alone is over 256 characters long.

Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194





On Sep 19, 2013, at 11:47 AM, Rick Oliver wrote:

Unless you have strings with no spaces that exceed 256 characters, then you can probably split the macro specifications on to multiple lines.

Perhaps you could provide a few examples of lines you don't think can be split?

Rick Oliver
Senior Information Developer
IBM Business Analytics (SPSS)
E-mail: [hidden email]




From:        Kathy Reinig <[hidden email]>
To:        [hidden email],
Date:        09/19/2013 10:43 AM
Subject:        Insert and 256 character limit
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




Hi, we're trying to use Insert to make use of a macro set in various other syntax files.  However, we have lines of well over the 256 character limit that we can't really shorten.  Is there a command or notation I'm not seeing that permits the continuation of the command on multiple lines or are we simply unable to use Insert for these macros?

thanks, Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194
[hidden email]






Reply | Threaded
Open this post in threaded view
|

Re: Insert and 256 character limit

Rick Oliver-3
Using INSERT in INTERACTIVE mode, continuation lines don't have to be indented, but must end with a period.

Rick Oliver
Senior Information Developer
IBM Business Analytics (SPSS)
E-mail: [hidden email]




From:        Kathy Reinig <[hidden email]>
To:        Rick Oliver/Chicago/IBM@IBMUS,
Cc:        [hidden email]
Date:        09/19/2013 10:52 AM
Subject:        Re: Insert and 256 character limit




Maybe I'm misunderstanding what the issue is -- can commands be over 256 characters so long as they are not indented?  Do I merely have to remove the indent?

We have a save command which needs to list the variables to be saved and that /KEEP alone is over 256 characters long.

Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194
Kathy.Reinig@...





On Sep 19, 2013, at 11:47 AM, Rick Oliver wrote:

Unless you have strings with no spaces that exceed 256 characters, then you can probably split the macro specifications on to multiple lines.

Perhaps you could provide a few examples of lines you don't think can be split?


Rick Oliver
Senior Information Developer
IBM Business Analytics (SPSS)
E-mail:
oliverr@...



From:        
Kathy Reinig <kathy.reinig@...>
To:        
[hidden email],
Date:        
09/19/2013 10:43 AM
Subject:        
Insert and 256 character limit
Sent by:        
"SPSSX(r) Discussion" <[hidden email]>




Hi, we're trying to use Insert to make use of a macro set in various other syntax files.  However, we have lines of well over the 256 character limit that we can't really shorten.  Is there a command or notation I'm not seeing that permits the continuation of the command on multiple lines or are we simply unable to use Insert for these macros?

thanks, Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194

Kathy.Reinig@...






Reply | Threaded
Open this post in threaded view
|

Re: Insert and 256 character limit

David Marso
Administrator
In reply to this post by Kathy Reinig
What makes you believe this can't be split?
Excessively LONG syntax lines are an abomination wrt readability.
SAVE OUTFILE blah blah
  / KEEP a b c
             d e f
             g h i.
Perhaps review the FM for  rules governing SYNTAX and INSERT.
Personally I tend to keep my lines of syntax rather short and readable.

Kathy Reinig wrote
Maybe I'm misunderstanding what the issue is -- can commands be over 256 characters so long as they are not indented?  Do I merely have to remove the indent?

We have a save command which needs to list the variables to be saved and that /KEEP alone is over 256 characters long.

Kathy


Kathy Reinig
KJ Reinig Associates
quantitative research analysts

+1 978 544 2194
[hidden email]





On Sep 19, 2013, at 11:47 AM, Rick Oliver wrote:

> Unless you have strings with no spaces that exceed 256 characters, then you can probably split the macro specifications on to multiple lines.
>
> Perhaps you could provide a few examples of lines you don't think can be split?
>
> Rick Oliver
> Senior Information Developer
> IBM Business Analytics (SPSS)
> E-mail: [hidden email] 
>
>
>
> From:        Kathy Reinig <[hidden email]>
> To:        [hidden email],
> Date:        09/19/2013 10:43 AM
> Subject:        Insert and 256 character limit
> Sent by:        "SPSSX(r) Discussion" <[hidden email]>
>
>
>
> Hi, we're trying to use Insert to make use of a macro set in various other syntax files.  However, we have lines of well over the 256 character limit that we can't really shorten.  Is there a command or notation I'm not seeing that permits the continuation of the command on multiple lines or are we simply unable to use Insert for these macros?
>
> thanks, Kathy
>
>
> Kathy Reinig
> KJ Reinig Associates
> quantitative research analysts
>
> +1 978 544 2194
> [hidden email] 
>
>
>
>
>
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"