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
 
Can we use SYNCTOOL for VBA format files

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

New User


Joined: 22 Mar 2007
Posts: 5
Location: Bangalore

PostPosted: Wed Jul 16, 2008 11:08 pm    Post subject: Can we use SYNCTOOL for VBA format files
Reply with quote

Hi,

I have a file which is VBA formatted. Can we use SYNCTOOL to get the records from this file using a search criteria.

Can you please provide an example JCL for this.

Thanks,
RK
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: Thu Jul 17, 2008 12:43 am    Post subject:
Reply with quote

DFSORT's ICETOOL can operate on a VBA file in the same way it operates on any other variable-length file. A VBA file just has an ANSI carriage control character (cc) after the RDW, so a record looks like this:

|RDW|cc|data|

The data starts in position 6 after the 4-byte RDW and 1-byte cc.

Quote:
Can we use ICETOOL to get the records from this file using a search criteria.

Can you please provide an example JCL for this.


Not until you give a clearer description of what you want to do. What exactly do you mean by "get the records from this file using a search criteria"? Are you talking about using INCLUDE? Or something else. What are the search criteria exactly? An example of the input records and what you expect for output, along with an explanation of the "rules" for getting from input to output would help.
Back to top
View user's profile Send private message
rkpyla

New User


Joined: 22 Mar 2007
Posts: 5
Location: Bangalore

PostPosted: Thu Jul 17, 2008 10:26 am    Post subject:
Reply with quote

Thanks Frank,

Please find below my requirement:

Input PS file: ID.INP1

I want all the records that are having a common string ":00" in the column position 25.

I have used ICETOOL job with INCLUDE statement but the job failed with Max-CC 16 with the following error message "INCLUDE/OMIT FIELD BEYOND RECORD".

Please let me know if any further information is required.

Regards,
RK
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: Thu Jul 17, 2008 7:29 pm    Post subject:
Reply with quote

Hello,

Please post your jcl, sort control statements, and the complete diagnostic information presented by the problem run (this includes all of the message numbers/ids along with the message text).
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: Thu Jul 17, 2008 9:26 pm    Post subject:
Reply with quote

RK,

That message indicates you're using Syncsort, not DFSORT.

I'm a DFSORT developer. DFSORT and Syncsort are competitive products. I'm happy to answer questions on DFSORT and DFSORT's ICETOOL, but I don't answer questions on Syncsort.

This is the DFSORT Forum for DFSORT questions. Please ask Syncsort questions in the JCL Forum.
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: Thu Jul 17, 2008 10:20 pm    Post subject:
Reply with quote

Hello,

Quote:
"INCLUDE/OMIT FIELD BEYOND RECORD".
Your error is self-explanitory.

For someone here to help, you need to post the info requested earlier. . .
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 Format issues using XMITIP MSGDD ssdjp1 CLIST & REXX 0 Mon Oct 23, 2017 8:47 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

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