Application Development and Automation 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: 
Read only

script

Former Member
0 Likes
670

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
Read only

Former Member
0 Likes
651

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
Read only

Former Member
0 Likes
651

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

Read only

Former Member
0 Likes
652

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

Read only

0 Likes
651

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

Read only

0 Likes
651

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

Read only

0 Likes
651

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

Read only

0 Likes
651

Hi ali,

Is your problem is solved?

Read only

Former Member
0 Likes
651

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

Read only

Former Member
0 Likes
651

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.