Quantcast
Viewing all 8500 articles
Browse latest View live

Suggestions & Feedback :: RE: Beginners v Experts

Author: vasanthz
Posted: Fri Jul 06, 2018 10:21 pm (GMT 5.5)

I am sooo tempted to post "same same but different gif by James Franco"
I might get banned if I did :-)
_________________
If you wear a sock inside out, the entire universe is wearing your sock except for you. **works only on socks, right legged only**


DB2 :: DB2 LOCKSIZE=ANY - DEADLOCKS

Author: vasanthz
Subject: DB2 LOCKSIZE=ANY - DEADLOCKS
Posted: Sat Jul 07, 2018 12:02 am (GMT 5.5)

Hi,

We are facing deadlocks in a DB2 table and the table is created with LOCKSIZE=ANY.

Manual says that ANY lets DB2 choose the locking size.

Is it possible to determine what LOCKSIZE was chosen by DB2 during a period of deadlock. We have BMC DB2 tools and SMF.

Regards,
Vasanth.S
_________________
If you wear a sock inside out, the entire universe is wearing your sock except for you. **works only on socks, right legged only**

Suggestions & Feedback :: RE: Beginners v Experts

Author: Nic Clouston
Subject: Reply to: Beginners v Experts
Posted: Sat Jul 07, 2018 5:01 am (GMT 5.5)

Quote:
And btw, What are you trying to achieve with Beginners forum when 'almost' all the same people who reply on Experts forum are the ones who reply on Beginners forum as well.

well, you wouldn't want the beginners to answer the questions, would you? They probably wouldn't know the answers anyway. The 'experts' appear on many forums giving their expertise for free.
_________________
Regards
Nic

IBM Tools :: LIST NODE DIRECTORY - db2 clp - trying to locate source file

Author: elixir1986
Subject: LIST NODE DIRECTORY - db2 clp - trying to locate source file
Posted: Sat Jul 07, 2018 6:15 pm (GMT 5.5)

Hi,

Ibm studio has been installed at my shop.

I am using db2 clp to get node and tcpip details of entries that was made in the user dsn while adding odbc new user dsn source using ibm db2 driver.

This can be obtained using "db2 list node directory" in the db2 clp.

The database alias, user dsn source name and corresponding driver dll resides in the ODBC information file.

I could not locate tcpip details for each user dsn the ODBC.ini file nor HKEY_CURRENT_USER\Software\ODBC registry.

Is the tcp ip network information for each of the user dsn stored in a file?

Mainframe Jobs :: Looking for immediate Job in mainframe domain !

Author: Chandan1993
Subject: Looking for immediate Job in mainframe domain !
Posted: Sun Jul 08, 2018 10:19 am (GMT 5.5)

Deleted. This section is for advertising vacancies not availability.
_________________
Thanks,
Chandan kumar

IBM Tools :: RE: LIST NODE DIRECTORY - db2 clp - trying to locate source file

Author: expat
Posted: Mon Jul 09, 2018 11:53 am (GMT 5.5)

Something that you will need to ask YOUR site admin about
_________________
Some people are like Slinkies. They have no real value,
but it sure is fun to see them pushed down the stairs.

DB2 :: RE: DB2 LOCKSIZE=ANY - DEADLOCKS

TSO/ISPF :: RE: KSDS file fields update by passing values from ISPF pannel

Author: Anil Kumar Prajapati
Subject: Please provide some examples
Posted: Thu Jul 12, 2018 10:17 pm (GMT 5.5)

Can someone please prove some examples..Which would be great assistance to me..Many thanks
_________________
We have a ISPF pannel that has many options .As per new requirement we have to add one more option and we need to update few fields in VSAM KSDS file by passing values from ISPF panel....Could you please help me how we can do this..Many many thanks in advance ....Please provide some examples


TSO/ISPF :: RE: KSDS file fields update by passing values from ISPF pannel

DB2 :: RE: DB2 LOCKSIZE=ANY - DEADLOCKS

Author: vasanthz
Posted: Fri Jul 13, 2018 3:05 am (GMT 5.5)

Thanks Rohit and Peter. I will review the information provided
_________________
If you wear a sock inside out, the entire universe is wearing your sock except for you. **works only on socks, right legged only**

All Other Mainframe Topics :: REXX CGI - Hello World

Author: vasanthz
Subject: REXX CGI - Hello World
Posted: Fri Jul 13, 2018 3:53 am (GMT 5.5)

Hi,

I am trying to write a sample Hello World REXX CGI script on Apache server(z/OS).
tried running,
Code:
Command ===>                                 
********************************* Top of Data *
/*rexx*/                                       
say "Content-type: text/html\n\n";             
say "Hello, World.";                           
exit                                           
******************************** Bottom of Data

By executing the URL https://server/cgi-bin/foo.rx
But got the error,
Code:
malformed header from script 'foo.rx': Bad header: Hello, World.

I tried googling "REXX CGI" and all the information on the pages just goes over my head.
I was unable to find a good tutorial for dummies.

Please help.

Vasanth.S
_________________
If you wear a sock inside out, the entire universe is wearing your sock except for you. **works only on socks, right legged only**

All Other Mainframe Topics :: RE: REXX CGI - Hello World

Author: Robert Sample
Subject: Reply to: REXX CGI - Hello World
Posted: Fri Jul 13, 2018 4:27 am (GMT 5.5)

I am by no means an expert in REXX nor CGI but try this:
Code:
/*rexx*/                                       
say "Content-type: text/html\n\n";             
say " ";
say "<h1>Hello, World.</h1>";                           
exit

_________________
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

Mainframe Jobs :: IT Specialist 1 (formerly Staff Programmer Analyst)

DFSORT/ICETOOL :: Comparing Comp-3 fields with greater than equal to condition

Author: Prateeksichem1
Subject: Comparing Comp-3 fields with greater than equal to condition
Posted: Fri Jul 13, 2018 8:45 am (GMT 5.5)

Hi,

I have 2 files
file1 of length 500
file2 of length 80

based on the matched keys, I need to compare Comp-3 field in file2 (length S9(13V99)) with the Comp-3 field in file1(length S9(13V99)).

file 2 field = -5000
file 1 field needs to be less than -5000 (like -6000)

when I'm running sort with below code, it gives me all the negative values not only lesser ones, need your help to achieve this. Thanks

JOINKEYS FILE=F1,FIELDS=(2417,3,A)
JOINKEYS FILE=F2,FIELDS=(0043,3,A)
REFORMAT FIELDS=(F1:1,2550,F2:1,200)
INCLUDE COND=(209,08,PD,LT,2555,08,PD)
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,2550)

Thanks
Prateek

DFSORT/ICETOOL :: RE: Comparing Comp-3 fields with greater than equal to condition

Author: mistah kurtz
Posted: Fri Jul 13, 2018 11:50 am (GMT 5.5)

Can you post a snippet of input data with hex on. Please use the code tags.

TSO/ISPF :: RE: KSDS file fields update by passing values from ISPF pannel

Author: expat
Subject: Re: Please provide some examples
Posted: Fri Jul 13, 2018 12:47 pm (GMT 5.5)

Anil Kumar Prajapati wrote:
Can someone please prove some examples..
There is no better place to look for examples than the site that you are working at currently.

I have worked at many sites each with their own standards and procedures differing from previous sites, so find out how YOUR site does it.
_________________
Some people are like Slinkies. They have no real value,
but it sure is fun to see them pushed down the stairs.

SYNCSORT :: Adding comments in Synsort

Author: rajiv rengasamy
Subject: Adding comments in Synsort
Posted: Fri Jul 13, 2018 3:21 pm (GMT 5.5)

Hello All,
I have some SYNCSORT statements; they work perfectly alright no problem at all. The below is the working statements.

SORT FIELDS=COPY
OUTFIL FNAMES=SORTPLO,INCLUDE=((23,1,CH,EQ,C'X',AND,
(24,1,CH,EQ,C'F',OR,24,1,CH,EQ,C'L',OR,24,1,CH,EQ,C'S'),AND,
(35,1,CH,EQ,C'C',OR,35,1,CH,EQ,C'D',OR,
35,1,CH,EQ,C'E',OR,35,1,CH,EQ,C'F',OR,
35,1,CH,EQ,C'G',OR,35,1,CH,EQ,C'H')),OR,
(23,1,CH,EQ,C'R',AND,
(24,1,CH,EQ,C'A',OR,24,1,CH,EQ,C'B'),AND,
(35,1,CH,EQ,C'W',OR,35,1,CH,EQ,C'X',OR,
35,1,CH,EQ,C'Y',OR,35,1,CH,EQ,C'Z')),OR,
((23,1,CH,EQ,C'B',AND,24,1,CH,EQ,C'A'),AND,
(35,1,CH,EQ,C'I',OR,35,1,CH,EQ,C'J')))

I just want to add some comments and present in a very structured way so it’s very easy for someone to follow in future, there I am facing problem.


SORT FIELDS=COPY
OUTFIL FNAMES=SORTPLO,INCLUDE=(
* MODEL 1.
(23,1,CH,EQ,C'X',AND,
(24,1,CH,EQ,C'F',OR,24,1,CH,EQ,C'L',OR,24,1,CH,EQ,C'S'),AND,
(35,1,CH,EQ,C'C',OR,35,1,CH,EQ,C'D',OR,
35,1,CH,EQ,C'E',OR,35,1,CH,EQ,C'F',OR,
35,1,CH,EQ,C'G',OR,35,1,CH,EQ,C'H')),OR,
* MODEL 2.
(23,1,CH,EQ,C'R',AND,
(24,1,CH,EQ,C'A',OR,24,1,CH,EQ,C'B'),AND,
(35,1,CH,EQ,C'W',OR,35,1,CH,EQ,C'X',OR,
35,1,CH,EQ,C'Y',OR,35,1,CH,EQ,C'Z')),OR,
* MODEL 3.
((23,1,CH,EQ,C'B',AND,24,1,CH,EQ,C'A'),AND,
(35,1,CH,EQ,C'I',OR,35,1,CH,EQ,C'J'))
* END.
)
OUTFIL FNAMES=SORTREST,SAVE




It considers every statement as comment as below

SYSIN :
SORT FIELDS=COPY
OUTFIL FNAMES=SORTPLO,INCLUDE=(
*
* MODEL 1. *
(23,1,CH,EQ,C'X',AND,
*
(24,1,CH,EQ,C'F',OR,24,1,CH,EQ,C'L',OR,24,1,CH,EQ,C'S'),AND,
*
(35,1,CH,EQ,C'C',OR,35,1,CH,EQ,C'D',OR,
*
35,1,CH,EQ,C'E',OR,35,1,CH,EQ,C'F',OR,
*
35,1,CH,EQ,C'G',OR,35,1,CH,EQ,C'H')),OR,
*
* MODEL 2. *
(23,1,CH,EQ,C'R',AND,
*
(24,1,CH,EQ,C'A',OR,24,1,CH,EQ,C'B'),AND,
*
(35,1,CH,EQ,C'W',OR,35,1,CH,EQ,C'X',OR,
*
35,1,CH,EQ,C'Y',OR,35,1,CH,EQ,C'Z')),OR,
*
* MODEL 3. *
((23,1,CH,EQ,C'B',AND,24,1,CH,EQ,C'A'),AND,
*
(35,1,CH,EQ,C'I',OR,35,1,CH,EQ,C'J'))
*
* END. *
)
*
OUTFIL FNAMES=SORTREST,SAVE
WER268A OUTFIL STATEMENT : SYNTAX ERROR
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT


Regards
Rajiv R
_________________
Regards,
Rajiv R

SYNCSORT :: RE: Adding comments in Synsort

Author: enrico-sorichetti
Posted: Fri Jul 13, 2018 3:30 pm (GMT 5.5)

wouldn' t it be simpler to READ the manual on how to include comments in the &sort control statements stream ?
_________________
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort Image may be NSFW.
Clik here to view.
icon_cool.gif

SYNCSORT :: RE: Adding comments in Synsort

Author: rajiv rengasamy
Posted: Fri Jul 13, 2018 3:33 pm (GMT 5.5)

It says add a * in position 1,

• Identify a comment card image by placing an asterisk (*) in column 1. Comments can extend through column 80.

which is what I did ,but for some reason (may be I am missing something) dint work and thats the reason posted to get other suggestion.
_________________
Regards,
Rajiv R

SYNCSORT :: RE: Adding comments in Synsort

Author: enrico-sorichetti
Posted: Fri Jul 13, 2018 3:42 pm (GMT 5.5)

my wild guess is that comments
- lines starting with an "*"
- blank lines
are allowed ONLY outside/between &sort control statements

IIRC IBM SORT manuals are clear enough about it
don' t know about syncsort
_________________
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort Image may be NSFW.
Clik here to view.
icon_cool.gif

Viewing all 8500 articles
Browse latest View live