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

problem in using EDIT function


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Wed Mar 12, 2008 4:01 pm
Reply with quote

Hi

Plese see the sort card below

OUTFIL FNAMES=T1,REMOVECC,NODETAIL,
SECTIONS=(18,6,
TRAILER3=(1,11,12:18,7,19:
TOT=(91,17,SFF,EDIT=(SIIIIIIIIIIIII.TT),SIGNS=(,-))))

My objective is i need to add the values in position 91 t0 107 with data in position 18 to 24 as key and display it in a single record.

here is an example
Sample input:-
<pos 18 to 24> <Pos 91 to 107>
........XXXXXX....................... 12.75
........XXXXXX....................... -.75
........XXXXXX....................... -1.00
........YYYYYY................. .75

expected output
<position 1 to 11> XXXXXX 11.00
<position 1 to 11> YYYYYY .75

Iam getting that 11.00 correctly. but 2nd record value (.75) is coming as
75. can anyone please help
Back to top
View user's profile Send private message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Wed Mar 12, 2008 4:09 pm
Reply with quote

hi all

what a simple mistake i have done. i have changed the edit card to
EDIT=(SIIIIIIIIIIIIT.TT) from I. this has worked
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 12, 2008 5:49 pm
Reply with quote

A good example of why you need to have someone else look over your code first before reaching out to the outside world.
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Calling an Open C library function in... CICS 1
No new posts DATE2 function SYNCSORT 15
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top