Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Reporting signed/unsignd COMP-3 variables using OUTREC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rgupta71

Active User


Joined: 21 Jun 2009
Posts: 160
Location: Indore

PostPosted: Fri Jul 17, 2009 6:39 pm    Post subject: Reporting signed/unsignd COMP-3 variables using OUTREC
Reply with quote

I'm having a problem in reporting COMP-3 variables. The PIC clause of the variables is S9(9)V9(2) COMP-3 , S9(11)V9(2) COMP-3 and 9(11)V9(2) COMP-3.

What should we write in OUTREC so that we can have sign as well as decimal in output report.
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Fri Jul 17, 2009 8:36 pm    Post subject:
Reply with quote

Hello,

You would use EDIT=

There are multiple examples in this JCL part of the forum.
Back to top
View user's profile Send private message
rgupta71

Active User


Joined: 21 Jun 2009
Posts: 160
Location: Indore

PostPosted: Fri Jul 17, 2009 10:08 pm    Post subject:
Reply with quote

Dick

Can u please check this sort
For S9(9)V9(2) COMP-3
(1,6,PD,EDIT=(STTTTTTTTT.TT),SIGNS=(+,-))

and for S9(11)V9(2)

(1,7,PD,EDIT=(STTTTTTTTTTT.TT),SIGNS=(+,-))


Thanks in Advance
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Jul 17, 2009 10:20 pm    Post subject:
Reply with quote

Hello,

At a glance, looks OK. What happens when you execute this?
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OUTREC OVERLAY different to INCREC ge... Joerg.Findeisen SYNCSORT 8 Fri Apr 27, 2018 2:11 am
No new posts Using indexed variables in EZPLUS SRIDEVI TANTRY CA Products 1 Thu Feb 01, 2018 12:15 pm
No new posts COMP Variables Mismatch gayu7 COBOL Programming 5 Wed Dec 20, 2017 5:06 pm
No new posts Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us