IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Writing the new counter file to another file?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Guru Prasath

New User


Joined: 04 Jun 2008
Posts: 36
Location: Chennai

PostPosted: Tue Oct 07, 2008 3:42 pm
Reply with quote

Yes sambhaji,

Your previous solutions itself solved worked fine.

It just accumulated from your previous solutions.

Also, Frank's solution too worked fine.

Thanks for all your effort.

Thanks,
Guru.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Oct 07, 2008 3:55 pm
Reply with quote

Guru,

Did you notice that Frank's solution did not pad the input file at the end whereas Sambaji's solution did. Padding at the end should NOT be done for VB files. By doing so one's just ignoring the very purpose of using a VB file.
Back to top
View user's profile Send private message
Guru Prasath

New User


Joined: 04 Jun 2008
Posts: 36
Location: Chennai

PostPosted: Tue Oct 07, 2008 4:36 pm
Reply with quote

Arun,

Are you talking about my input file? its FB...Not VB
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Oct 07, 2008 4:52 pm
Reply with quote

Guru Prasath wrote:
Hi,

I caught with this case in production..
.............................
.............................
counter file starts from the 17theh position . record format is VB of length 80.

Thanks,
Guru.

This is what your initial post says. This topic has grown to the next page and you never mentioned your requirement got changed !!!. I believe these are some of the critical info. that you should mention clearly.
Back to top
View user's profile Send private message
Guru Prasath

New User


Joined: 04 Jun 2008
Posts: 36
Location: Chennai

PostPosted: Tue Oct 07, 2008 5:02 pm
Reply with quote

Yes,

this is my mistake. So many i read the post...i dont know how i missed it?

sorry again.

Thanks for pointing this.

This will not happen again.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Tue Oct 07, 2008 9:02 pm
Reply with quote

Quote:
Hi Frank,

I have tried your solution, but what i got in the output as shown below, instead of getting 4508 , i got 450I . i tried with input 4508, that time i got 450H. Please let me know , whats wrong with this?


With DFSORT, you will get 4508, not 450I. If you got 450I, then you're using Syncsort, not DFSORT. DFSORT uses an F sign for TO=ZD by default. Syncsort uses a C sign for TO=ZD by default. Since you're using Syncsort, not DFSORT, I'm moving this thread to the JCL Forum and I'll leave you to the "tender mercies" of others (it amazes me how off track these discussion can go before I get to work).
Back to top
View user's profile Send private message
Guru Prasath

New User


Joined: 04 Jun 2008
Posts: 36
Location: Chennai

PostPosted: Thu Oct 09, 2008 11:21 am
Reply with quote

Ok Frank,

I just used PGM=ICEMAN...when i checked in my sysout it shows SYNCSORT for Z\OS. Whether it means i don't have DFSORT in my system?

How to find this? please let me know.

Thanks,
Guru
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Oct 09, 2008 11:27 am
Reply with quote

Hi,

Check the SYSOUT of some SORT JOB, if the messages appear there are of type ICExxxx then your shop make use of DFSORT & if messages are of type WERxxxx it's SyncSort. Both of these are competitive products and on this portal they are discussed under different forums. Syncsort falls under JCL forum & DFSORT question are discussed in DFSORT & ICETOOL forum. Please try to state about your SORT product by next time in case you are agin stuck up on some SORT query.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 09, 2008 11:28 am
Reply with quote

Hello,

Typically a system uses only one sort product. There are a rare number of organizations that, due to consolidation/merge of business units, have multiple sort products available.

You could ask your system support people if DFSORT is also available on your system. This topic has been moved to JCL where Syncsort questions are discussed.
Back to top
View user's profile Send private message
Guru Prasath

New User


Joined: 04 Jun 2008
Posts: 36
Location: Chennai

PostPosted: Thu Oct 09, 2008 11:35 am
Reply with quote

Thanks Anuj and Dick,

I checked some of the production sort cards, it shows only WERxxxxx messages only. so i have only SYNCSORT installed on my system.

So, i have to post all my future queries regarding SORT, i have to post it here. icon_biggrin.gif

Thanks,
Guru
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Oct 09, 2008 11:41 am
Reply with quote

If by "here" You mean "JCL Forum" then - Yes, you are right...unless you change your company (shop).. icon_smile.gif

-Ad
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 09, 2008 12:03 pm
Reply with quote

Hello,

Quote:
So, i have to post all my future queries regarding SORT, i have to post it here
When you post a Syncsort question, it helps if you use Syncsort in the Subjext.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Oct 09, 2008 12:06 pm
Reply with quote

dick scherrer wrote:
Hello,
Quote:
So, i have to post all my future queries regarding SORT, i have to post it here
When you post a Syncsort question, it helps if you use Syncsort in the Subjext.


Or even the subject icon_lol.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Oct 09, 2008 12:27 pm
Reply with quote

Yup, my fingers get ahead of my eyes icon_smile.gif

d
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Oct 09, 2008 12:44 pm
Reply with quote

expat wrote:
Or even the subject icon_lol.gif
? icon_confused.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Thu Oct 09, 2008 12:48 pm
Reply with quote

XIXS Guy icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top