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
 
Give syntax for these DFSORT commands

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
rao_kulkarni

New User


Joined: 14 Mar 2005
Posts: 4

PostPosted: Tue Jul 12, 2005 1:21 pm    Post subject: Give syntax for these DFSORT commands
Reply with quote

please what is the maening of these command line .
and give sytanax for these commands.
Code:

//TOOLIN DD *
  COPY FROM(IN1) TO(TMP1) USING(CPY1)
  COPY FROM(IN2) TO(TMP1) USING(CPY2)
  SPLICE FROM(TMP1) TO(OUT) ON(1,4,CH) WITH(6,4)
/*
//CPY1CNTL DD *
   OUTREC FIELDS=(1:1,4,11:6,4,19:X)
/*
//CPY2CNTL DD *
   OUTREC FIELDS=(1:1,4,6:6,4,19:X)
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: Tue Jul 12, 2005 9:17 pm    Post subject:
Reply with quote

These are DFSORT/ICETOOL control statements to do a SPLICE operation that combines fields from two different input file records into one output record.

The first COPY operator reformats the IN1 records to look like this and puts them in TMP1 (b for blank):

Code:

fld1bbbbbbfld3bbbbb


The second COPY operator reformats the IN2 records to look like this and puts them in TMP1:

Code:

fld1bfld2bbbbbbbbbb


The SPLICE operator splices records from TMP1 with the same fld1 to get:

Code:

fld1bfld2bfld3bbbbb



For complete details on DFSORT's ICETOOL, see:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA10/6.0?DT=20050222160456
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts Need urgent suggestion on DFSORT subratarec DFSORT/ICETOOL 6 Wed Mar 21, 2018 8:46 pm
No new posts How to get the output from submit com... Joanna2016 CLIST & REXX 10 Tue Feb 06, 2018 7:26 am
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am

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