IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Move a Record Using DFSORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
Reply with quote

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 01, 2010 9:11 pm
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 01, 2010 9:19 pm
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 Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Mon Nov 01, 2010 11:09 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top