MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 148 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Connecting to Unix - no output
videlord

Replies: 11
Views: 6262

PostForum: Job Control Language(JCL)   Posted: Tue Jul 28, 2009 9:58 am   Subject: Connecting to Unix - no output
1. shell command should be input in PARM, using PARM='SH your unix command' or
//STDPARM DD *
SH your unix command

2. BPXBATCH run shell comand, should start with SH
3. STDIN must be z/OS UNIX ...
  Topic: Connecting to Unix - no output
videlord

Replies: 11
Views: 6262

PostForum: Job Control Language(JCL)   Posted: Tue Jul 28, 2009 9:19 am   Subject: Connecting to Unix - no output
try LS -l 1>STDOUT 2>STDERR
  Topic: DFSORT user exit - split a record
videlord

Replies: 5
Views: 5657

PostForum: Utilities   Posted: Mon Apr 27, 2009 9:21 pm   Subject: DFSORT user exit - split a record
Thanks Frank and Kolusu, I'll try it.
  Topic: DFSORT user exit - split a record
videlord

Replies: 5
Views: 5657

PostForum: Utilities   Posted: Mon Apr 27, 2009 10:57 am   Subject: DFSORT user exit - split a record
Thanks Frank.

Is there a sample assembler user exit routine for "user exit address constant"?
simple sample code for #4.7.2.3 in the manual would be perfect.
  Topic: DFSORT user exit - split a record
videlord

Replies: 5
Views: 5657

PostForum: Utilities   Posted: Mon Apr 27, 2009 9:37 am   Subject: DFSORT user exit - split a record
I want to code a user exit to split one record to several records,
input
xxxxyyyy-------------------
xxxx - number of new records
yyyy - length of new records

e.g.

00030004ABCD1234EFGH

wi ...
  Topic: Query on DB2 catalog tables
videlord

Replies: 8
Views: 6683

PostForum: Database   Posted: Mon Jun 16, 2008 2:20 pm   Subject: Query on DB2 catalog tables
query SYSIBM.SYSPACKDEP (If the DBRM bound to PLAN directly, query SYSPLANDEP)

SELECT DCOLLID, DNAME, DCONTOKEN
FROM SYSIBM.SYSPACKDEP
WHERE BNAME = your tb name
AND BQUALIFIER = your tb owner
  Topic: New DB2 subsystem
videlord

Replies: 2
Views: 1779

PostForum: Database   Posted: Fri Jun 06, 2008 2:09 pm   Subject: New DB2 subsystem
You can run several DB2 subsystem in one MVS image, but be careful about the central storage usage.

I think you are talking about ICF user catalog. Why you think it's related to DSNZPARM? They are ...
  Topic: locking of the table in cics program while reading table.
videlord

Replies: 8
Views: 3638

PostForum: Database   Posted: Wed Jun 04, 2008 9:44 pm   Subject: locking of the table in cics program while reading table.
i have a situation where ID gets created by adding 1 to the max of (ID) of table. when two users creating ID at the same time will get the same ID .since two parallel cics sessions read the same ta ...
  Topic: selective deletion of db2 image copies
videlord

Replies: 4
Views: 2630

PostForum: Database   Posted: Wed Jun 04, 2008 9:37 pm   Subject: selective deletion of db2 image copies
DSN1COPY is more easier.
You don't need UNLOAD/LOAD.
  Topic: Maximum Salary amount
videlord

Replies: 1
Views: 1598

PostForum: Database   Posted: Fri Apr 11, 2008 9:48 am   Subject: Maximum Salary amount
use CASE, e.g.

select empid,
CASE
when sal1 > sal2 and sql1 > sal3 ... and sal1 > sal12 then sal1
when sal2 > sal1 and ... then sal2
...
END
from emptable
  Topic: Use of variable in Date functions
videlord

Replies: 5
Views: 2264

PostForum: Database   Posted: Fri Apr 11, 2008 9:36 am   Subject: Use of variable in Date functions
several options:
1. dynamical SQL - prepare SQL first
2. if - then, different stastic SQLs
3. get the column first, do calculation in your progrom
....
  Topic: include value in different offset
videlord

Replies: 7
Views: 3791

PostForum: Utilities   Posted: Mon Apr 07, 2008 10:16 am   Subject: include value in different offset

In the examples you show the offset as being x'20' and x'15' but the 'oF' is in positions 20 and 15. x'20' = 64 decimal and x'15' = 21 decimal.

the sample is not good, i should change it to bina ...
  Topic: Help with coding complex SQL (DB2 z/OS v8 CM)
videlord

Replies: 6
Views: 3803

PostForum: Database   Posted: Mon Apr 07, 2008 9:52 am   Subject: Help with coding complex SQL (DB2 z/OS v8 CM)
remove duplicates

select dbname, tsname, dsnum, max(TIMESTAMP)
from sysibm.syscopy
where timestamp < current timestamp - 3 ...
  Topic: Help with coding complex SQL (DB2 z/OS v8 CM)
videlord

Replies: 6
Views: 3803

PostForum: Database   Posted: Mon Apr 07, 2008 9:51 am   Subject: Help with coding complex SQL (DB2 z/OS v8 CM)
just noticed the 2nd requiement are any type

select dbname, tsname, dsnum, max(TIMESTAMP)
from sysibm.syscopy
where timestamp < curr ...
  Topic: Help with coding complex SQL (DB2 z/OS v8 CM)
videlord

Replies: 6
Views: 3803

PostForum: Database   Posted: Mon Apr 07, 2008 9:35 am   Subject: Help with coding complex SQL (DB2 z/OS v8 CM)

select dbname, tsname, dsnum, max(TIMESTAMP)
from sysibm.syscopy
where timestamp < current timestamp - 3 months
and ICTYPE ...
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group