Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to Move a Record Using DFSORT

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

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Mon Nov 01, 2010 8:14 pm    Post subject: How to Move a Record Using DFSORT
Reply with quote

Hi,

Do we have any function move a record from one position to other using DFSORT.

My Requirement is below:
I have a record at second line, I want to move it to the last line. I am using DFSORT.

Can anybody help on this plz..Thankyou
Shaik.
Back to top
View user's profile Send private message

Habeeb Shaik

New User


Joined: 29 Aug 2005
Posts: 10

PostPosted: Mon Nov 01, 2010 8:58 pm    Post subject:
Reply with quote

Do we have any resolution on this...?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Nov 01, 2010 9:11 pm    Post subject: Reply to: How to Move a Record Using DFSORT
Reply with quote

please be patient....
in many countries today is an holiday,

remember also that ...
replying is on voluntary basis
on the responder time
free of charge

pretending an answer after 45 minutes from the initial post is just ..
expecting too much from a 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: Mon Nov 01, 2010 9:19 pm    Post subject: Reply to: How to Move a Record Using DFSORT
Reply with quote

Hello,

If you needed something in less than an hour, you could have spent 10 minutes and written a tiny bit of code to do this. . .

d
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: Mon Nov 01, 2010 11:09 pm    Post subject:
Reply with quote

Shaik,

It's not clear what you want to do. Do you have only two records, or more than two records, or what?

Please show an example of the records in your input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input file.

Also, run this job and show the //SYSOUT messages you receive, so I can see what level you're at:

Code:

//S1    EXEC  PGM=SORT
//SYSOUT    DD  SYSOUT=*
//SORTIN DD *
RECORD
//SORTOUT DD DUMMY
//SYSIN    DD    *
    OPTION COPY
/*
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. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts How to get the remainder and quotient... vnktrrd DFSORT/ICETOOL 2 Mon Oct 31, 2016 10:59 am
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts sort with previous record anatol DFSORT/ICETOOL 9 Thu Oct 06, 2016 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us