Software AG Community Discussion Forums


Forums - Categories
  Change Enhancement Forums
  Adabas
  Natural
  CentraSite
  Mainframe Integration
  webMethods
  Business Community
  Tamino
  Former Crossvision Products
  Entire System Management
  Implementation Forums
Top 5 Contributors
Most discussed topics
Most popular topics
 
 



 Forums OverviewForums Overview   phpBB FAQphpBB FAQ    SearchSearch    Agreement TermsAgreement Terms     RegisterRegister 
LoginLogin

Natural Related Products Community Forums


Workfile processing using AM=SMARTS


 
Post new topic   Reply to topic   Quick reply   printer-friendly view    Community Forum Index -> Natural Related Products -> Com-plete
View previous topic :: View next topic
Author Message
Chris Walsh
Senior Member


Joined: 29 Aug 2005
Posts: 24
Country: United States

PostPosted: Mon Jun 04, 2007 7:36 pm    Post subject: Workfile processing using AM=SMARTS

Using AM=SMARTS under Com-Plete to read MVS datasets from online Natural. Is there a way to configure the system so that "READ WORK FILE" returns a record at a time rather than a block of data at a time?

When reading variable length records, I am unable to differentiate between the H’15’ end of record delimiter and an embedded H’15’ that might occur in the data (e.g. packed number (H’00154F’). Also, having issues reassembling the last record in block if it splits into next block.

I'm trying to write a common routine that will process a variety of workfile lengths.

Thanks for any advice!


Chris Walsh
Back to top
View user's profile
Steffen Kuhnert


Moderator


Joined: 22 Mar 2005
Posts: 19
Country: Germany

PostPosted: Thu Jul 19, 2007 3:32 pm    Post subject: Re: Workfile processing using AM=SMARTS

I'm afraid there's no trivial way. READ WORKFILE reads as much data as fits into the area you provide, AFAIK.
The underlying layer (Smarts) is a C-type environment, which doesn't have a concept of record length, so you can handle either binary data or data broken into records, but not binary data broken into records.

You'd have to request a new function like GET WORKFILE-RECORD from Natural development if this is a strong requirement.

Steffen
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic   Quick reply   printer-friendly view    Community Forum Index -> Natural Related Products -> Com-plete All times are GMT + 1 Hour
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2003 phpBB Group