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 Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts SORT- outrec ram_vizag DFSORT/ICETOOL 10 Tue Sep 27, 2016 12:50 am
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am
No new posts Need help to populate date in COMP-3 ... chetanambi DFSORT/ICETOOL 3 Tue Jun 21, 2016 12:25 pm


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