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
 

 

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 field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm


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