LISTC clarification



IBM's Command List programming language & Restructured Extended Executor

Re: LISTC clarification

Postby Akatsukami » Fri May 18, 2012 12:02 am

Viswanathchandru wrote:As advised i have manually deleted the space i mean the leading ones.

I don't understand what you mean by "manually". Regardless, the simplest thing to do would be to code
new.i = strip(new.i)

just before the LISTCAT command.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: LISTC clarification

Postby Viswanathchandru » Fri May 18, 2012 12:22 am

Thanks akatsukami. Agreed! modified the routine as suggested.

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: LISTC clarification

Postby Pedro » Fri May 18, 2012 4:08 am

One more thing to note:

You were using the OUTTRAP() function. You probably should have been getting an error message:
IKJ56709I INVALID DATA SET NAME, '  REVIEW.GDG.G0201V00                   
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: LISTC clarification

Postby Viswanathchandru » Fri May 18, 2012 7:39 pm

Hello Pedro,

Thanks for your time! I'm not sure why do i get this error. If the dataset name is the reason apologize i have a different HLQ. Apologize if i or my thoughts are wrong!

Regards,
Voswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: LISTC clarification

Postby Pedro » Fri May 18, 2012 9:26 pm

Please clarify: are you still getting an error message after removing the leading and trailing blanks?

Show us the new trace.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: LISTC clarification

Postby Viswanathchandru » Fri May 18, 2012 9:31 pm

Dear pedro,

Thanks for the time! No i'm not getting the error again!

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post