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
 

 

problem in using EDIT function

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: problem in using EDIT function
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    Post subject: Reply to: problem in using EDIT function
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

Moderator Team Head


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

PostPosted: Wed Mar 12, 2008 5:49 pm    Post subject: Reply to: problem in using EDIT function
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    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
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm


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