View previous topic :: View next topic
|
Author |
Message |
Habeeb Shaik
New User
Joined: 29 Aug 2005 Posts: 10
|
|
|
|
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 |
|
|
Habeeb Shaik
New User
Joined: 29 Aug 2005 Posts: 10
|
|
|
|
Do we have any resolution on this...? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
|
|