Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
convetring RC=12 to RC=8 using SYNCTOOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Wed May 16, 2007 1:44 pm    Post subject: convetring RC=12 to RC=8 using SYNCTOOL
Reply with quote

Hi
i have the following requirement.

my JCL has two steps

step1:- file-aid
step2:- program execution step. (This step will get executed only if file-aid copy is successful. (i.e) if the file copied through file-aid is empty step2 will not get executed

now i have to find the feasibility of converting the file-aid step to SYNCSORT, without changing the existing functionality

so i tried doing same using SYNCTOOL

step1:- SYNCTOOL
the control card used is

COUNT FROM(INPUT) EMPTY

if the file is empty this is giving me a return code of '12' can this be modified so that this gives me a return code of '8' if the file is empty?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed May 16, 2007 3:32 pm    Post subject:
Reply with quote

I think that DFSORT will either return a 4 or a 12 for an empty file.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed May 16, 2007 8:31 pm    Post subject:
Reply with quote

The default is RC=12. The RC4 option can be used to change that to RC=4. There's no option for RC=8.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Tue Nov 02, 2010 1:44 am    Post subject:
Reply with quote

With the Oct, 2010 DFSORT PTF, you can now use RC8 with the COUNT operator of DFSORT's ICETOOL.

For details, see:

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000242
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYNCTOOL better than SYNCSORT? Amit_Singh SYNCSORT 3 Wed Jul 23, 2014 11:06 am
No new posts Can any one give me any sample join s... Sanath sekhar Reddy N SYNCSORT 9 Thu Aug 08, 2013 12:03 pm
No new posts SyncSort/SyncTooL to extract records ... Hariharan BK SYNCSORT 25 Tue Jun 04, 2013 2:42 pm
No new posts Work files with SYNCTOOL mlp JCL & VSAM 3 Wed Oct 05, 2011 11:10 am
No new posts Two copies of a file in a single pass... Raymond Sachs JCL & VSAM 2 Fri Sep 09, 2011 11:36 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us