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
 

 

reformating records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Thu Jun 15, 2006 2:43 pm    Post subject: reformating records
Reply with quote

hi,

i m trying to format records .

using this .

//SYSIN DD *
$$FILEM DSC INPUT=DDIN,
$$FILEM OUTPUT=DDOUT,
$$FILEM PROC=*
IF FLD(1,2) = '00'
THEN DO
OUTREC = CHANGE(OUTREC,FLD(1,2),'44',1,1,2)
END
this is working fine


the main issue is that

i want to chng it to
IF FLD(1,2) not = '00'

it giving error.

does any body hav ane idea.
Thanks ,
-Kapil .
Back to top
View user's profile Send private message

hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Wed Jun 21, 2006 8:32 pm    Post subject:
Reply with quote

wat is the error message. mind posting it?
Back to top
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Thu Jun 22, 2006 8:36 pm    Post subject: Re: reformating records
Reply with quote

Hi ,

actually its not exactly error in job .

wat i mean to say i m not getting the required output .

the input is being copied exactly as it is in out put . (IF FLD(1,2) not = '00')


in other case it is changing values successfully .( IF FLD(1,2) = '00')

hav u tried this on ur side .

r u geting same outputs or diff .?

Thanks ,
-Kapil.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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