cancel
Showing results for 
Search instead for 
Did you mean: 

DEFINE statement in Scripts

Former Member
0 Kudos

Hi all,

I am using the command DEFINE in my script.

Syntax /: DEFINE &TEXT& = 'XXX'.

The variable TEXT has been assigned a default length of 80 characters.

Can anyone let me know how can I change this length to user defined value say 150.

Regards,

Senthil G.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can not change the length..if you want to display 50 char lentgth then use like

/: PERFORM NAME IN PROGRAM NAME

/: USING &URTEXT&

/: CHANGING &GETTEXT&

/;ENDPERFORM.

Create a program in se38 then declare a variable in se38 length should be 50 char,

then pass that 50char lenth to changin parameters..

Reward Points if it is helpful

Thanks

Seshu

Answers (1)

Answers (1)

former_member196280
Active Contributor
0 Kudos

No way that you can change this lenght to 150

/: DEFINE &TEXT& = 'XXX'.

TEXT = 80 characters.

If you want to display 150, Define onemore varaible.

Ex: TEXT1. and display after text

Reward points for all useful answers.

Regards,

SaiRam