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
 
Clarification on execution of control statements

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

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Fri Feb 03, 2006 8:36 pm    Post subject: Clarification on execution of control statements
Reply with quote

Hi All

In My job iam using sort, just i want to know the order in which the statements will be executed.
iam using in sysin as
outrec fields.................
sort fields copy.......
omit statement................

Here i want to know first the input records are reformatted and eliminated by omit condition and copied to output file.

or
it will eliminate the input records based on the omit conditon and then reformats and copies to output file..

Please let me know the order of execution of statements

Thanks In advance
jai
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 Feb 03, 2006 9:48 pm    Post subject:
Reply with quote

The order is:

Code:

  OMIT statement processing
  SORT statement processing
  OUTREC statement processing


The records are eliminated before copying and then reformatted.

The following figure in "z/OS DFSORT Application Programming Guide" shows the order of processing for DFSORT:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA10/FIGSTMTSEQ?SHELF=&DT=20050222160456&CASE=&ScrollTOP=FIGSTMTSEQ#FIGSTMTSEQ
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Fri Feb 03, 2006 9:55 pm    Post subject:
Reply with quote

Thanks For prompt reply

Regards
Jai
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 Control M - Predecessor/successor of ... SRIDEVI TANTRY Compuware & Other Tools 6 Sun May 06, 2018 10:57 am
No new posts Remove all Parenthetical Statements -... JayaprakashT DB2 2 Fri Apr 27, 2018 3:57 am
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts Control-M restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
No new posts ROSCOE RPF execution via JCL balimanja CA Products 2 Tue Nov 07, 2017 2:13 am

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