Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

script

Former Member
0 Kudos

Hi,

In script form i need two shift address line with two spaces. For this please help me.

**********************

= &IMPTOT(CIZ)&,, ,, &IMPTOT(CIZ)&,,,, &W_PLADDR-HOUSE_NO', '&

*********************

This is the line , in this line i have to shift &W_PLADDR-HOUSE_NO', '& for two spaces.

In this please help me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Ali,

1) Give 2 spaces manually before &W_PLADDR-HOUSE_NO', '&

or

2) Check tab positions if it is 2 spaces fit then give another tab ,, before &W_PLADDR-HOUSE_NO', '&

Thanks

Ravi

8 REPLIES 8

Former Member
0 Kudos

Hi Ali,

Just code it in this way and check it once.

**********************

= &IMPTOT(CIZ)&,, ,, &IMPTOT(CIZ)&,,,,, &W_PLADDR-HOUSE_NO', '&

*********************

Hope this resolves your query, for more info revert back in the same thread.

Reward all the helpful answers.

Regards

Former Member
0 Kudos

Hi Ali,

1) Give 2 spaces manually before &W_PLADDR-HOUSE_NO', '&

or

2) Check tab positions if it is 2 spaces fit then give another tab ,, before &W_PLADDR-HOUSE_NO', '&

Thanks

Ravi

0 Kudos

In this script with giving two spaces(,,) i had tried but for me that (,,) are printing .For that reason please help me in this

0 Kudos

Hi Ali,

Just do one thing. Go to the window and there configure editor, there instead of going for change editor , make the required changes in the present screen.

Also try the suggestion given by me in the beginning once more.

Hope this resolves your query.

Reward all the helpful answers.

Regards

0 Kudos

Hi Ali,

May be u given the tab positions like this ,,,, , , . If u given like this it will give the output , ,. No space between two commas. Two commas represent 1 tab position. So the commas must be even number. Eg: we can give ,,,, ,, like this but we cant give ,,,, , , like this.

Thanks

Ravi

0 Kudos

Hi ali,

Is your problem is solved?

Former Member
0 Kudos

Hey Ali,

All ur questions are unclear. Moreover when asked for more explanation <b>why do u create a new thread instead???? Why can't u reply to the same question in the same thread??</b> Don't u see an icon that says reply to this thread?? Please click on that and reply to the thread there itself and dont be creating 10 threads for each questions.

Sam

Former Member
0 Kudos

If you are looking to use the SHIFT statement, then you have to use the Control comand PERFORM...ENDPERFORM.

/:DEFINE &result& = ' '

/: PERFORM <subroutine> IN PROGRAM <program name>

/:USING &W_PLADDR-HOUSE_NO', '&

/:CHANGING &result&

/:ENDPERFORM

In the program subroutine you can do the modifications and write &result& on the script display.