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
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am

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