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

Add value To a particular Filed in the Record


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Aug 26, 2011 2:49 pm
Reply with quote

I don't understand. This is twice now this week. You post a question, people are helping you out, a solution (or several) is possibile, then you give up and write a Cobol program. Which you don't like. Your skills say "pli", so why not that?

If you next ask a question, would you prefer us to say "how about writing a Cobol program"? Just so we know.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Fri Aug 26, 2011 2:59 pm
Reply with quote

Frank Yaeger wrote:
Quote:
For DFSORT you need to use OPTION ZDPRINT if in case your default is NZDPRINT.


With DFSORT: ZDPRINT only applies to SUM, not INREC. TO=ZD (the default) or TO=ZDF gives an F sign for positive values. TO=ZDC gives a C sign for position values.

Thanks Frank...
Back to top
View user's profile Send private message
narasimha.g

New User


Joined: 10 Sep 2009
Posts: 68
Location: Liverpool

PostPosted: Fri Aug 26, 2011 6:36 pm
Reply with quote

Bill Woodger wrote:
I don't understand. This is twice now this week. You post a question, people are helping you out, a solution (or several) is possibile, then you give up and write a Cobol program. Which you don't like. Your skills say "pli", so why not that?

If you next ask a question, would you prefer us to say "how about writing a Cobol program"? Just so we know.


Yaa sorry Bill... icon_sad.gif I know... But Im still trying with SYNCSORT parallely to learn that but its still not happening....

Its was an immediate requirement and had to finish it quickly so coded it in COBOL last evening.... And ya PLI is my expertise but that was in my last project...... here they don use PLi or Easytrieve... so coded in COBOL....

And if u don mind can u please help me on an IMS Loading thing in IMS forum.... icon_smile.gif
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Aug 26, 2011 7:00 pm
Reply with quote

I think enrico has dealt with your IMS load question. It is not generally a good thing to solicit answers here. Where people have time/skills they provide replies at their own choice.

My IMS skills are almost limited to being able to spell it.

With this SyncSort question, you have two routes: check that TO=ZD is getting you a signed value (C), not unsigned (F) and find how to get an unsigned value; do the IFTHEN stuff for 1, 2, other for each of your dates, inserting 9, 0, TBD respectively.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Aug 26, 2011 7:04 pm
Reply with quote

Quote:
I think enrico has dealt with your IMS load question.


not probably the way the TS expected,
but that' s the reply he deserved, for an unload use the <corresponding>... load

what else could be replied ? icon_cool.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Aug 26, 2011 7:28 pm
Reply with quote

Bill Woodger wrote:
With this SyncSort question, you have two routes: check that TO=ZD is getting you a signed value (C), not unsigned (F) and find how to get an unsigned value
The TO=ZDF would force an 'F' sign. I wonder why the OP is still struggling with this.!!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 26, 2011 10:02 pm
Reply with quote

Hello,

Try changing this:
TO=ZD
to
TO=ZDF

You specified Zoned Decimal wich implies a "C" sign - you want an "F" sign. . .
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 26, 2011 10:04 pm
Reply with quote

Hi Arun,

I replied before seeing the secong page again. . . icon_redface.gif

I'd made the reply, but was called away before Submitting. . .

d
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Sun Aug 28, 2011 5:27 pm
Reply with quote

dick scherrer wrote:
Hi Arun,

I replied before seein the secong page again. . . icon_redface.gif
Hi Dick,

It happens at times icon_smile.gif . Most of the topics are growing to page-2 for no reason. icon_mad.gif
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 -> JCL & VSAM Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top