Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

EZT File Goes From Fixed to Variable

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
coxdavi

New User


Joined: 12 Mar 2009
Posts: 30
Location: usa

PostPosted: Fri Apr 17, 2009 10:48 pm    Post subject: EZT File Goes From Fixed to Variable
Reply with quote

I have an Easytrieve program using DFSORT that allocates a file as FB,133,27930 then runs through the body of the program. Files stats show it is still FB. Last statement in the program is a SORT statement using 3 fields ( SORT file to itself using the 3 fields ). Program fails on record-length issue.

The question I have is what causes a file to be allocated as RECFM=FB and end up as RECFM=V ? Is there a way to see what causes this to occur ?

Thanks,
Dave
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Fri Apr 17, 2009 11:04 pm    Post subject:
Reply with quote

What does your JCL look like?
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: Fri Apr 17, 2009 11:12 pm    Post subject:
Reply with quote

Dave,

DFSORT would not convert from FB to VB unless the FTOV option was used.

Did you get the DFSORT messages (ICExxxs messages)? If so, post them. If you didn't get the DFSORT messages, you may be able to force them out to MYMSGS by adding this to the step:

Code:

//SORTDIAG DD DUMMY
//MYMSGS DD SYSOUT=*
//DFSPARM DD *
  OPTION MSGDDN=MYMSGS
/*
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Apr 17, 2009 11:23 pm    Post subject:
Reply with quote

Hello,

Is there some reason you did not post the Easytrieve file definition and related code?

How about the error or informational messages from both Easytrieve and the sort? Be sure to include any message ids.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Fri Apr 17, 2009 11:39 pm    Post subject:
Reply with quote

dick, isn't psychic day Friday this week? icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Sat Apr 18, 2009 12:01 am    Post subject: Reply to: File Goes From Fixed to Variable
Reply with quote

Quote:
isn't psychic day Friday this week?
Hi Robert,

Well, i thought it was, but i must have dain brammage - no astral reception at all - maybe i'm in a "dead zone" icon_confused.gif

Where is Carnak when we need him. . . icon_smile.gif

d
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Sat Apr 18, 2009 12:17 am    Post subject:
Reply with quote

dead zone ... Faraday cage ... something like that, I'm sure (but then I've got the same problem) icon_smile.gif
Alas, poor Carnak, we knew him well ...
Back to top
View user's profile Send private message
coxdavi

New User


Joined: 12 Mar 2009
Posts: 30
Location: usa

PostPosted: Sat Apr 18, 2009 12:28 am    Post subject: Reply to: File Goes From Fixed to Variable
Reply with quote

I had checked with CA-Easytrieve support and they sent the following:

This could be Apar RO05501
APAR #: RO05501
Product: EZTRVE Release: 11.0 Solution #: 187 Type:
OS: OS
Title: *SP3* SORT CHANGES OUTPUT FILE RECFM.

****************** VERSION 0 EFFECTIVE: FEB 10 2009 4:00 *************
PRODUCT: CA Easytrieve Runtime RELEASE: 11.0

APAR #: RO05501 DATE: 10 FEB 2009

PROBLEM DESCRIPTION: *SP3* SORT changes output file RECFM.
---------------------------------------------------
This APAR corrects problem:

SORT of file and subsequent re-open of file causes
loss of RECFM.
Regards,
Dick

Thank you,
CA Technical Support



SEE THE FOLLOWING SOLUTION(S):
EZTRVE 11.0 187
* ____________________________________________________________________________ *

* ID: 187
* PRODUCT: EZTRVE
* RELEASE: 11.0
* DESC: *SP3* SORT CHANGES OUTPUT FILE RECFM.
* SYSTEMS AFFECTED: OS OS
* SOLUTION TEXT:

PRODUCT: CA Easytrieve Runtime RELEASE: 11.0

APAR #: RO05501 DATE: 10 FEB 2009

PROBLEM DESCRIPTION: *SP3* SORT changes output file RECFM.
---------------------------------------------------
This APAR corrects problem:

SORT of file and subsequent re-open of file causes
loss of RECFM.

HYPER: NO

DISTRIBUTION CODE: A

PROBLEM RESOLUTION: Apply the following APAR to the system.
Reload any resident modules, or re-IPL if necessary.
***NOTE*** Retain the printed output for reference.

PROCEDURE TO DUPLICATE PROBLEMS:
Create an Easytrieve program that SORTs a file to itself.

PROCEDURE TO DETERMINE IF THE FIX CORRECTS THE PROBLEM:
Output file RECFM = original definition.

SOURCE CHANGES:

FILE: ________ ________



PRODUCT(S) AFFECTED: CA Easytrieve MVS Release 11.0
CA-Easytrieve/Plus DBCS Release 11.0
CA-Easytrieve/Plus DBCS Option Release 11.0




* ____________________________________________________________________________ *

* OS VERSION: 0 EFFECTIVE: 02/10/2009 ACTION: A
SMP INPUT (OS/MVS SYSTEMS):
-----------------------------

++APAR (RO05501)
DESC (*SP3* SORT changes output file RECFM.)
/* ---------------------------------------------------------------- */
/* PRODUCT: CA Easytrieve Runtime */
/* RELEASE: 11.0 */
/* DATE: 10 FEB 2009 */
/* HYPER: NO */
/* */
/* STARTRAK PROBLEM PRODUCT NAME: EZTRVE PROBLEM NUMBER: 193 */
/* ---------------------------------------------------------------- */
/* *SP3* SORT changes output file RECFM. */
/* ---------------------------------------------------------------- */
/* This APAR corrects problem: */
/* */
/* SORT of file and subsequent re-open of file causes */
/* loss of RECFM. */
/* ---------------------------------------------------------------- */.
++VER (Z038) FMID(C$AB000)
PRE ($A00808)
SUP (T192084,RO02798,T192083,T192072).
++MOD(ETAMIQS) DISTLIB(C$AB0LLD).
++IMBED T192084 DATA *

PLEASE NOTE: THIS PTF CONTAINS A SOURCE MODULE REPLACEMENT.
PLEASE USE SUPPORT.CA.COM TO DOWNLOAD
THE MODULE. IF YOU HAVE ANY PROBLEMS, PLEASE
CONTACT CA SUPPORT TO ASSIST YOU.
MODULE NAME: DATA
TITLE: *SP3* SORT CHANGES OUTPUT FILE RECFM.
BYTES: 3680

I will apply this APAR when I get back to the office and retry the program.
Should do the trick.

Frank,
Yes, a co-worker had mentioned the FTOV and VTOF parms as something to check for.

Thanks all,
Dave
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: Sat Apr 18, 2009 1:00 am    Post subject:
Reply with quote

I'm moving this to the CA Forum.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us