View previous topic :: View next topic
|
Author |
Message |
Niki
Active User
Joined: 20 Sep 2008 Posts: 106 Location: Bangalore
|
|
|
|
Hi all,
I stucked up in a place where i need your help.
My task is like,
st_no h_no
0011
0092 0100
0040 5500
0070 6400
It need to be sort first as ST_no and then h_no and if the h_no col is space aor st_no col is space for some row then than row need to be deleted from the output. So here th output should be like,
st_no h_no
0040 5500
0070 6400
0092 0100
I suppoose i am clear with my question.
If anybody knows the Sort card then please send me.
Thanks in advance. |
|
Back to top |
|
|
Niki
Active User
Joined: 20 Sep 2008 Posts: 106 Location: Bangalore
|
|
|
|
Hi all,
I have one more question too.
If i am having PDS whose length is 70. and another whose length is 20.
I need to replace the datas present in PDS1's 5 to position number 25 with the values of PDS2 when the the data present in 5 tho 10 location of PDS1 = 1 to 5 of PDS2.
I suppose i m clear with it.
Please help me regarding this. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Niki,
Please use following sort card for your request
Code: |
OMIT COND=(1,4,CH,EQ,C' ',OR,5,4,CH,EQ,C' ')
SORT FIELDS=(1,4,CH,A,5,4,CH,A)
|
|
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Niki,
Quote: |
If i am having PDS whose length is 70. and another whose length is 20.
I need to replace the datas present in PDS1's 5 to position number 25 with the values of PDS2 when the the data present in 5 tho 10 location of PDS1 = 1 to 5 of PDS2. |
Could u please provide us sample i/p & o/p for it? |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
Back to top |
|
|
Niki
Active User
Joined: 20 Sep 2008 Posts: 106 Location: Bangalore
|
|
|
|
Thank you all
and Sambhaji i ll start new topic from next time onwards. Sorry for this time. |
|
Back to top |
|
|
|