Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all 8500 articles
Browse latest View live

CLIST & REXX :: RE: How to list data set names with different HLQ?

$
0
0
Author: murali.andaluri
Subject: Re: Reply to: How to list data set names with different HLQ?
Posted: Fri Apr 13, 2018 3:42 pm (GMT 5.5)

Sorry Pedro!!! Its typo error.
_________________
Thanks,
Murali


CLIST & REXX :: RE: How to list data set names with different HLQ?

$
0
0
Author: prino
Posted: Fri Apr 13, 2018 3:57 pm (GMT 5.5)

Nic Clouston wrote:
You are missing
Code:
last_nodes.0 = 3

which then allows
Code:
Do x= 1 to last_nodes.0

instead of the DO UNTIL and later you do not need LASTNODE=LAST_node.x
but have
Code:
DATFILE='SSO.D*.T*' || JDATE || '.' ||LAST_NODE.x||'*'


Just an alternative without changing too much.

I've actually started using Dave's method, i.e.

Code:
s. = -1
s.1 = whatever
s.2 = something
s.3 = this?
s.4 = that?

do i = 1 by 1 while s.i \= -1
...
end

as it stops you forgetting to update s.0!
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

CLIST & REXX :: RE: How to list data set names with different HLQ?

$
0
0
Author: prino
Posted: Fri Apr 13, 2018 3:57 pm (GMT 5.5)

Nic Clouston wrote:
You are missing
Code:
last_nodes.0 = 3

which then allows
Code:
Do x= 1 to last_nodes.0

instead of the DO UNTIL and later you do not need LASTNODE=LAST_node.x
but have
Code:
DATFILE='SSO.D*.T*' || JDATE || '.' ||LAST_NODE.x||'*'


Just an alternative without changing too much.

I've actually started using Dave's method, i.e.

Code:
s. = -1
s.1 = whatever
s.2 = something
s.3 = this?
s.4 = that?

do i = 1 by 1 while s.i \= -1
...
end

as it stops you forgetting to update s.0!
_________________
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... icon_smile.gif

CLIST & REXX :: RE: How to list data set names with different HLQ?

$
0
0
Author: daveporcelan
Posted: Fri Apr 13, 2018 4:42 pm (GMT 5.5)

Nic,

I am NOT missing - last_nodes.0 = 3

I leave it off on purpose. My method allows adding more entries without having to set this value as well. I have been burned in the past.

I have used this method hundreds of times.

This is why I said this is just one method.

Testing & Performance analysis :: TCPIP MSU consumption

$
0
0
Author: mvsman
Subject: TCPIP MSU consumption
Posted: Fri Apr 13, 2018 6:18 pm (GMT 5.5)

Hi,

Did anyone ever try to find out top consuming jobs or cics/ddf transactions in TCPIP address space?

I am used to do performance analysis on our mainframe based on MSU consumption exploiting SMF records so I had a look to SMF119 records but I could not find information about MSU consumption....

Any ideas?
Thanks for your help

Testing & Performance analysis :: RE: TCPIP MSU consumption

$
0
0
Author: Robert Sample
Posted: Fri Apr 13, 2018 6:33 pm (GMT 5.5)

SMF type 70 and type 72 records deal with CPU usage (MSU). You would not find CPU usage in the type 119 records, as far as I know.
Quote:
MSU consumption
MSU is a term associated with the CP or at the lowest level the LPARs defined to the CP. An application CANNOT "consume MSU" because MSU does not exist at that level. The application can use CPU time, along with the other resources, but the application does not use MSU in any way. Furthermore, the ONLY way to change MSU is to replace the hardware -- since MSU is related to the hardware.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

Testing & Performance analysis :: RE: TCPIP MSU consumption

$
0
0
Author: mvsman
Posted: Fri Apr 13, 2018 6:47 pm (GMT 5.5)

Thanks for your reply.
Quote:
SMF type 70 and type 72 records deal with CPU usage (MSU). You would not find CPU usage in the type 119 records, as far as I know.

I know and this is indeed my problem... We do MSU usage analysis with SMF030 (at address space level) and SMF070 (at system level) but I can only get MSU or CPU used by the whole TCPIP address space. And I would like to identify "who" is consuming on TCPIP.

Quote:
An application CANNOT "consume MSU" because MSU does not exist at that level.

I'm confused. You mean a job cannot actually consume MSU? I have never heard this... Anyway, CPU time will be fine also.

Testing & Performance analysis :: RE: TCPIP MSU consumption

$
0
0
Author: Robert Sample
Posted: Fri Apr 13, 2018 7:32 pm (GMT 5.5)

A job uses service units (which may be CPU, storage, I/O) but does not "consume" them -- a machine rated at 1000 MSU is always at 1000 MSU no matter how much or how little application jobs are using CPU time. So MSU are not consumed -- they always exist, at the same level, on the machine. Whether or not a job is using MSU doesn't matter at the machine level since the MSU level of the machine will not change until the machine is replaced. A machine rated at 1000 MSU will not be at 970 MSU if a batch job is using 30 MSU; the machine will still be at 1000 MSU.

TCPIP is difficult to break down -- you can have 3270 sessions, FTP client sessions, FTP server sessions, SMTP sessions, etc. -- and there is not necessarily a lot of identifying data in the type 119 records.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth


Testing & Performance analysis :: RE: TCPIP MSU consumption

$
0
0
Author: mvsman
Posted: Fri Apr 13, 2018 7:44 pm (GMT 5.5)

Ok I understand what you mean. Maybe we have a vocabulary problem here and for sure my terrible english is not helping.
Anyway, if you use all your 1000 MSU for 4 hours, there is little left.. :-)
Thanks for the clarification.
Hopefully, someone else has an idea...

DB2 :: RE: Handling result sets in the calling Native procedure

$
0
0
Author: Rohit Umarjikar
Posted: Fri Apr 13, 2018 8:23 pm (GMT 5.5)

Quote:
ALLOCATE CURSOR1 CURSOR FOR RESULT SET result1

You have got the same cursor name in both sps.
However, why don't you INSERT into temp table in SP1 from CURSOR1 and then reference that into SP2 to do further processing?
_________________
Regards,
Rohit Umarjikar
A leader is one who knows the way, goes the way, and shows the way.

Testing & Performance analysis :: RE: TCPIP MSU consumption

$
0
0
Author: Robert Sample
Posted: Fri Apr 13, 2018 8:46 pm (GMT 5.5)

You may have to match the type 119 address space identifier to the type 30 records (address space identifier is in the Identification Section) to be able to see which job(s) are using which resources. The field SMF30WID may help classify work, but you'll have to consider using the interval records as well as the completion records since it is entirely possible for TCP/IP work to span intervals. And I'm not sure if you would be using the subtype 6 records of type 30 or if you can just use the 2, 3, 5 subtypes.
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

DB2 :: RE: Handling result sets in the calling Native procedure

$
0
0
Author: Rusikesh
Subject: Reply to: Handling result sets in the calling Native procedure
Posted: Fri Apr 13, 2018 9:40 pm (GMT 5.5)

Rohit, I result from SP1 is named as CURSOR1 and for locator i am using it as result1. i do not think so. i am using same name in both procedures.


@Expat, i understand your concern but i do not know how to place image in message body. so i have to go with attachment.

DB2 :: RE: Handling result sets in the calling Native procedure

$
0
0
Author: Rohit Umarjikar
Posted: Sat Apr 14, 2018 12:10 am (GMT 5.5)

Quote:
Rohit, I result from SP1 is named as CURSOR1 and for locator i am using it as result1. i do not think so. i am using same name in both procedures.

You are not paying attention here. See if wither one is the problem,
1.ALLOCATE CURSOR1 CURSOR FOR RESULT SET result1
CURSOR1 name in sp2 is same as sp1 try with below declaration,
ALLOCATE CURSOR2 CURSOR FOR RESULT SET result1
ALLOCATE CURSOR
2. You are not calling the SP1 before executing the above code.
_________________
Regards,
Rohit Umarjikar
A leader is one who knows the way, goes the way, and shows the way.

CICS :: RE: VSAM BUFFER SPACE?

$
0
0
Author: John Poulakos
Subject: Reply to: VSAM BUFFER SPACE?
Posted: Sat Apr 14, 2018 1:51 am (GMT 5.5)

Yes.

I have to add 16 bytes to the RBA address every time an ILLOGIC error occurs. The record size is defined as 120, I add 120 to the RBA for each record. The RBA in the file utility goes from 3720 to 3840 to 3960 to 4096 to 4216, etc.

The record and CIsize don't matter, the RBA address will still shift at some point, sometimes by as much as 256 bytes.

CICS :: How do I define a DB2 plan for a web servcie in CICS?

$
0
0
Author: John Poulakos
Subject: How do I define a DB2 plan for a web servcie in CICS?
Posted: Sat Apr 14, 2018 1:58 am (GMT 5.5)

I have looked all over and got no answers. The tech support staff I have to deal with don't know, either. I am introducing CICS web services to this environment... nothing like being a pioneer!

CICS has DB2TRAN and DB2ENTRY definitions to relate a DB2 plan to a CICS transaction. But, a web service provider has no CICS transaction. The only thing I can think of is to create DB2TRAN/DB2ENTRY definitions for the CICS SOAP listener transaction and that doesn't seem right.

Has anyone else run across this?


CICS :: RE: How do I define a DB2 plan for a web servcie in CICS?

$
0
0
Author: Robert Sample
Posted: Sat Apr 14, 2018 2:20 am (GMT 5.5)

Start by reading CICS and web services since you've got a lot of learning to do. You will not define DB2TRAN / DB2ENTRY definitions for the SOAP listener transaction -- you follow the procedure in the manual to define message handlers, header processing programs, and so forth. If you're going to be using DB2, you define it like any other CICS resource since it will be used in CICS not in the web.

There is also a Redbook for Application Development for IBM CICS Web Services (SG24-7126).
_________________
TANSTAAFL

The first rule of code reuse is that the code needs to be worth re-using.

"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth

CICS :: RE: VSAM file NOT Found error while processing in a CICS Program

$
0
0
Author: Jose Mateo
Posted: Sat Apr 14, 2018 2:35 am (GMT 5.5)

Verify the CICS partition JCL for the file label and the file name on that label must be the same as the one you defined.
_________________
JEMO

DB2 :: RE: Handling result sets in the calling Native procedure

$
0
0
Author: Nic Clouston
Posted: Sat Apr 14, 2018 1:11 pm (GMT 5.5)

Quote:
but i do not know how to place image in message body

Cut and paste. Simple.
_________________
Regards
Nic

Suggestions & Feedback :: RE: E-mail notifications

$
0
0
Author: mcmillan
Subject: Reply to: E-mail notifications
Posted: Sun Apr 15, 2018 11:31 am (GMT 5.5)

Please use 'Post Reply' instead of Quick Reply and untick the checkbox 'Notify me when a reply is posted' while replying.
_________________
Ever Loving,
McMillan

Google Certified Analytics Expert
--------------------------------------------------------------------
We are not here to Stay, we are here to Live.
--------------------------------------------------------------------

Suggestions & Feedback :: RE: E-mail notifications

$
0
0
Author: Nic Clouston
Subject: Reply to: E-mail notifications
Posted: Sun Apr 15, 2018 2:52 pm (GMT 5.5)

It is not checked.
Does the quick reply automatically check that box? And why has it only just begun in the the last couple of weeks or so?
_________________
Regards
Nic

Viewing all 8500 articles
Browse latest View live