View previous topic :: View next topic
|
Author |
Message |
Bathrinarayanan
New User
Joined: 15 Nov 2007 Posts: 4 Location: chennai
|
|
|
|
Hi,
Currently we are using FILEAID to identify the empty files and set RC 08. We wants to replace the FILEAID with SORT but need to get the same RC 08 for empty file check using Sort.
Please suggest ways..
Thanks in Advance... |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
DFSORT/ICETOOL can set the RC to 04, 12 or 16, not to 08. Why won't RC 04, 12 or 16 work as well as 08? |
|
Back to top |
|
|
CHANDAN KAPOOR
New User
Joined: 12 Apr 2008 Posts: 36 Location: NOIDA
|
|
|
|
You can use ICETOOL utility to set the RC to whatever you like . |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Frank,
A strong desire to keep the existing JCL asis. . .
d |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
You can use ICETOOL utility to set the RC to whatever you like . |
Really? Please show us how to have ICETOOL set RC 08.
(I'm only the inventor/developer of ICETOOL so why would I know how it works.) |
|
Back to top |
|
|
rakesha.hg
Active User
Joined: 21 Mar 2008 Posts: 161 Location: bangalore
|
|
|
|
hi,
i think it can done with combination of icetool & idcams |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
(I'm only the inventor/developer of ICETOOL so why would I know how it works.) |
maybe somebody is trying to found a new profession along the line of the useless ones like literary, art, movie critic
the IT critic
/ anectode on
a literary critic was giving a conference on Isaac Asimov writings, and was explaining their meaning .
Asimov, disguised in the last rows,
stood up to explain that it was not the meaning intended when he wrote the book, telling that he was the author
the quick and shameless speaker' s reply was...
the fact that You are the author does not mean that You know the meaning of what You wrote
(*) not the exact wording, but quite similar
meditate Frank meditate |
|
Back to top |
|
|
Bathrinarayanan
New User
Joined: 15 Nov 2007 Posts: 4 Location: chennai
|
|
|
|
Hi Frank,
By changing the RC 08 to other return codes will result changing the various proclibs and steps. And also we have to change condition code table in Jobtrac to avoid CC check. It will be tedious task to us. That's why expecting for RC 08. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
It will be tedious task to us. |
welcome to the world of IT.
and so what? you have to do it anyway.
sometimes different vendors intentionally make their products incompatible. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
Back to top |
|
|
Bathrinarayanan
New User
Joined: 15 Nov 2007 Posts: 4 Location: chennai
|
|
|
|
Hi All,
Thanks for all your replies and suggestions.
Time being I used the IDCAMS as Enrico suggested and it works fine. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
maybe somebody is trying to found a new profession along the line of the useless ones like literary, art, movie critic
the IT critic |
Actually, I find the reviews from some movie critics to be quite useful.
Quote: |
By changing the RC 08 to other return codes will result changing the various proclibs and steps. And also we have to change condition code table in Jobtrac to avoid CC check. It will be tedious task to us. That's why expecting for RC 08. |
Interesting - so you specifically check for RC 08 rather than checking for RC > 0? Thanks for the information. But I can't help but wonder why RC 08 was chosen. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
But I can't help but wonder why RC 08 was chosen. |
Maybe because FileAid was used and returns 08 for "empty". . . |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Oh, I get it. I didn't realize FileAid used RC 08. Looking back, I see the OP said that in the first post but I ignored it. |
|
Back to top |
|
|
CHANDAN KAPOOR
New User
Joined: 12 Apr 2008 Posts: 36 Location: NOIDA
|
|
|
|
Hi Frank,
I think ICETOOL can do the purpose
S1 EXEC PGM=ICETOOL
SYSPRINT DD SYSOUT=*
TOOLMSG DD SYSOUT=*
DFSMSG DD SYSOUT=*
IN DD DSN=Dataset,DISP=SHR
TOOLIN DD DSN=CTLCARD ,DISP=SHR
In CTLCARD If we write COUNT FROM(IN) EMPTY RC8
then If the dataset is empty then it can set RC as 8 of this step.
Please Do correct me if Im wrong.
Thanks |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Frank Yeager wrote: |
DFSORT/ICETOOL can set the RC to 04, 12 or 16, not to 08. |
Frank Yeager wrote: |
I'm only the inventor/developer of ICETOOL so why would I know how it works |
CHANDAN KAPOOR wrote: |
then If the dataset is empty then it can set RC as 8 of this step. |
and I thought this was the best comment made to date:
RE: how can you do something that you can not do?
som_infotech wrote: |
Yes I know its not following the rules, but I want it to happen. |
CHANDAN KAPOOR wrote: |
Please Do correct me if Im wrong.
|
Chandon Kapoor, I think that you may receive some correction
oh, oh, ohhhh! I do love this forum.
and I believe I followed all the rules of PC... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Dick,
Quote: |
and I believe I followed all the rules of PC... |
Looks like it It has been more than 8 hours and no word from the PC police. . .
Chandon Kapoor,
Have you read any of the replies. . .
Quote: |
I think ICETOOL can do the purpose |
If you post something like this, you need to post a working example - showing the actual sysout.
It doesn't much matter what we think, it matters what the system will do. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Chandor,
You're wrong! If you had actually tried your job or looked up the COUNT operator in the DFSORT book, you would have found out for yourself that you're wrong. Here's what you'd get with that control statement:
Code: |
COUNT FROM(IN) EMPTY RC8
$
ICE604A 0 ERROR IN KEYWORD, PARAMETER, OR DELIMITER
ICE602I 0 OPERATION RETURN CODE: 12
|
RC8 is NOT a valid keyword for COUNT. RC4 is valid for setting RC=4. RC=12 is the default. RC8 is NOT supported.
Please try running any jobs to make sure they work BEFORE posting so you won't waste peoples' time. Actually, we have two DFSORT developers answering questions on this board, so we really don't need your "help". |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Quote: |
Yes I know its not following the rules, but I want it to happen. |
I want my Powerball numbers to win this week too, but the gods of chance have thusfar eluded my desires. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Yes I know its not following the rules, but I want it to happen. |
Sounds like a job for the famous DWIW instruction (Do what I want). |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
DFSORT's ICETOOL now supports RC8 for COUNT with z/OS DFSORT V1R10 PTF UK90025 or z/OS DFSORT V1R12 PTF UK90026 (Oct,2010).
For complete details on the new functions for DFSORT and DFSORT's ICETOOL available with the Oct, 2010 PTF, see:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000242 |
|
Back to top |
|
|
|