Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to place cursor in NP Column?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Sat Oct 25, 2008 11:36 am    Post subject: How to place cursor in NP Column?
Reply with quote

Hi All,

I am running SDSF through REXX. In the program i am filtering on basis of Job Id.
Actually when we do a FIND using Job Name, the cursor is placed in NP column and we can directly use "++?" or "++S". But when we do a select or filter on job number the cursor is still in command line, which i need to move to NP column so that i can use "++?".
Any Idea how to do it.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 25, 2008 3:49 pm    Post subject:
Reply with quote

SELECT (S) seems to ring a bell
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Sat Oct 25, 2008 4:02 pm    Post subject:
Reply with quote

Hi Expat,

SELECT didn't ring any bell.......
if you are asking me to use select instead of filter, then i already tried it. Its not working.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 25, 2008 4:31 pm    Post subject:
Reply with quote

Take a look at THIS previous thread that is quite similar.
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Sat Oct 25, 2008 4:44 pm    Post subject:
Reply with quote

Hi Expat,

I had a look at the thread, i see that you have used FIND. FIND is working, but then my requirement is to filter based on JOB Number, because it will be unique, and FIND doesn't work for Job Number.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Oct 25, 2008 5:45 pm    Post subject:
Reply with quote

saurabh39 wrote:
Hi Expat,
I had a look at the thread, i see that you have used FIND. FIND is working, but then my requirement is to filter based on JOB Number, because it will be unique, and FIND doesn't work for Job Number.

Yes, I do know that FIND does not work for job number, hence the solution in the linked thread uses both job name and number.

If you do not have the jobname then you will have to filter/select on the job number, parse the output back to REXX to find the jobname and then re enter SDSF to use both to get the desired output.

That thread gives you a viable work around, whether you take that route or not is entirely up to you.
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Sat Oct 25, 2008 6:03 pm    Post subject:
Reply with quote

HI Expat,

Thanks for the help, even i am going for workaround, though it bit long, but i understand there no way out.
Thanks for helping

Thanks,
Tushar
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm
This topic is locked: you cannot edit posts or make replies. DB2 query Using Recursion, Converting... smilewithashu2 DB2 3 Tue Jan 03, 2017 12:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us