IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what is the functionality of STRIP command in DB2 and SCHENV


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bharathyyy

New User


Joined: 13 Jun 2005
Posts: 6

PostPosted: Wed Jun 15, 2005 11:58 am
Reply with quote

Can any one explain about

1. STRIP in DB2 "
2. SCHENV, what does it mean in JCL ?
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Wed Jun 15, 2005 2:25 pm
Reply with quote

Hi Bharat,

1 Ans: The STRIP function removes blanks or another specified character from the end, the beginning, or both ends of a string expression.

Syntax: STRIP(String EXP,Leading/Trailing/Both,Strip Character);

Strip char is blank by default.

Eg:
01 A PIC X(10) VALUE "0000123456".

STRIP(:A, L,'0');
will remove leading zeros.

2 Ans:

SCHENV - Used to specify Scheduling Environment name of a JOb.
use the SCHENV parameter to specify the name of the WLM scheduling environment that is to be associated with this job. A scheduling environment is a list of required resource state settings. By associating a scheduling environment name with a job, you ensure that the job will be scheduled only on a system that satisfies those resource state
settings.

Thanks,
Reddy
Back to top
View user's profile Send private message
kulkarni_alok

New User


Joined: 07 Jul 2005
Posts: 4

PostPosted: Fri Jul 08, 2005 12:25 am
Reply with quote

can you please provide the full usage of STRIP command and also the complete SQL using strip command
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top