You could also have corrected those records with just SAS,
i.e., MXG not required:
DATA _NULL_;
INFILE SMF;
INPUT @11 SYSTEM $EBCDIC4. @;
IF SYSTEM='1234' THEN SYSTEM='5678';
ELSE ... change system to desired;
FILE SMFOUT DCB=SMF;
PUT _INFILE_ @11 SYSTEM $EBCDIC4. ;
FILE LOG;
I just thought I'd update this thread. I haven't found an answer yet. John
Reda from Syncsort emailed me with a solution, except that our version of
Syncsort is so old that the OVERLAY function is not included. He did say that
there is a way to do what I need without using OVERLAY. I may
FileAid could do this sort of fix as well, if you have it. If you're really
masochistic, you could even use REXX!
--
John
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with
] On Behalf Of
Eric Bielefeld
Sent: Thursday, February 05, 2009 1:01 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Copy SMF Records With Syncsort
I just thought I'd update this thread. I haven't found an answer yet. John
Reda from Syncsort emailed me with a solution, except that our version of
Syncsort
Unfortuneately, we don't have FileAid. I've used it in the past, and its
a great product. I don't think I would even attempt to do this in Rexx.
Maybe assembler! I used to do a lot of assembler 25 years ago. But,
as my boss says, if it takes longer than 10 minutes, don't do it.
Eric
the following COBOL program will do what you want. Well, in my minor test it
did. Compiled with Enterprise COBOL 3.4.
000100 PROCESS MAP,TRUNC(OPT),OPTIMIZE,VBREF,XREF,APOST,LIST
000200 ID DIVISION.
000300 PROGRAM-ID. SMFALTER.
000400 AUTHOR. JOHN MCKOWN.
000500 INSTALLATION. HEALTHMARKETS, INC.
John,
Thanks. That worked very well, except I took the STOPAFT=50 off of the SORT
statement. Thanks for taking time out of a busy day to help. But, then thats
one of the reasons if anyone asks about Syncsort, I will recommend your product.
Eric
--
Eric Bielefeld
Systems Programmer
Hi John,
I just ran John Reda's sort and checked it out when I read your post. I hope
you didn't spend a lot of time writing it. I don't think I'll try it right
now, but I will keep a copy of it in case I have any more problems working with
SMF records. SMF records ALWAYS give trouble
On Thu, 5 Feb 2009 12:59:07 -0600, John McKown joa...@swbell.net wrote:
FileAid could do this sort of fix as well, if you have it. If you're really
masochistic, you could even use REXX!
Not really. REXX doesn't handle spanned records.
Mark
--
Mark Zelden
Sr. Software and Systems Architect -
You could use IDCAMS to repro from a VBS to VB. Then REXX would be able to
handle.
Natarajan
Mark Zelden mark.zel...@zurichna.com 2/5/2009 1:35 PM
On Thu, 5 Feb 2009 12:59:07 -0600, John McKown joa...@swbell.net wrote:
FileAid could do this sort of fix as well, if you have it. If you're
Yes you can, and I have done so when I knew the length of the records I
was looking at weren't going to be an issue. But it isn't a viable option for
making a copy of all your SMF data - even if you weren't modifying anything
in it.
Though the subject here was SCRT, which are SMF 89 records.
I'm trying to fix some SMF records from our TEST Lpars that have the wrong
SMFID in them. I'm pretty sure I can fix them with Syncsort using the OUTREC
Change command, but I'm not sure how to do that. I haven't worked with
Syncsort that much, and I've spent the last hour or so trying to
Eric Bielefeld wrote:
I'm trying to fix some SMF records from our TEST Lpars that have the wrong
SMFID in them. I'm pretty sure I can fix them with Syncsort using the OUTREC
Change command, but I'm not sure how to do that. I haven't worked with
Syncsort that much, and I've spent the last
Steve,
Apparently OVERLAY is not a Syncsort keyword. I did a search of the whole
Syncsort reference manual, and it wasn't listed, although my book is about 6
years old. I did allow for the RDW in my displacement, I think.
Eric
--
Eric Bielefeld
Systems Programmer
Washington University
St
the change facility for the middle.
-Original Message-
From: Eric Bielefeld
Sent: Wednesday, February 04, 2009 3:43 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Copy SMF Records With Syncsort
Steve,
Apparently OVERLAY is not a Syncsort keyword. I did a search of the
whole Syncsort reference
On Wed, 4 Feb 2009 23:42:38 +, Eric Bielefeld wrote:
Steve,
Apparently OVERLAY is not a Syncsort keyword. I did a search of the whole
Syncsort reference manual, and it wasn't listed, although my book is about 6
years old. I did allow for the RDW in my displacement, I think.
Eric
Eric,
SMF Records With Syncsort
Eric Bielefeld wrote:
I'm trying to fix some SMF records from our TEST Lpars that have the wrong
SMFID in them. I'm pretty sure I can fix them with Syncsort using the OUTREC
Change command, but I'm not sure how to do that. I haven't worked with
Syncsort that much
: Wednesday, February 04, 2009 6:26 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Copy SMF Records With Syncsort
Eric Bielefeld wrote:
I'm trying to fix some SMF records from our TEST Lpars that have the wrong
SMFID in them. I'm pretty sure I can fix them with Syncsort using the OUTREC
Change command
18 matches
Mail list logo