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
 

 

View the values of comp-3 field in the spool

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sri_al

New User


Joined: 19 Jul 2005
Posts: 4
Location: Hyderabad

PostPosted: Tue Jul 19, 2005 4:49 pm    Post subject: View the values of comp-3 field in the spool
Reply with quote

Hai ,

I am a new member of this group.


I just want to know the answers for these two questions:

1) How to View the values of comp-3 field in the spool area?

2) If we get an soc-7 error in a program , which has millions of records,how can we know where the soc-7 abend occured?


Thanks

Sri.
Back to top
View user's profile Send private message

nnaveenreddy

New User


Joined: 19 Jul 2005
Posts: 7

PostPosted: Tue Jul 19, 2005 5:51 pm    Post subject: Mainframes cobol
Reply with quote

1) How to View the values of comp-3 field in the spool area?

Move the COMP-3 field in to a Numeric field and Put Display statement for the numeic field.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Jul 19, 2005 6:30 pm    Post subject: Re: Mainframes cobol
Reply with quote

Hi sri_al,

Quote:
2) If we get an soc-7 error in a program , which has millions of records,how can we know where the soc-7 abend occured?

Did you search the FORUM.....You will get some good Documents ....

Regards,

Priyesh.
Back to top
View user's profile Send private message
sri_al

New User


Joined: 19 Jul 2005
Posts: 4
Location: Hyderabad

PostPosted: Tue Jul 19, 2005 9:53 pm    Post subject: Thankyou
Reply with quote

Hai Naveen & Priyesh,

Thankyou for responding back. Priyesh , i tried to search in the forum but as of now i didnt get any info , though i will try to search again.

thanks again

sri.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Jul 19, 2005 10:07 pm    Post subject: Re: Mainframes cobol
Reply with quote

Hi sri_al,

Quote:
Priyesh , i tried to search in the forum but as of now i didnt get any info

icon_surprised.gif

Well....Check these links....I did make a search.....

http://ibmmainframes.com/viewtopic.php?t=3372
http://ibmmainframes.com/viewtopic.php?t=2544

http://ibmmainframes.com/viewtopic.php?t=263
http://ibmmainframes.com/viewtopic.php?t=608
http://ibmmainframes.com/viewtopic.php?t=2604

Hope this helps to you....

Regards,

Priyesh.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jul 20, 2005 8:02 am    Post subject:
Reply with quote

Hi Sri,

Next to the Spool dataset that contains the comp-3 data enter SE.
When the dataset displays enter HEX in the cmd line.
Look at the comp-3 data. you'll see someting like this:
Code:

0401
362C


That's your comp-3 data. Most likely, all you saw before you entered HEX all you saw was blanks.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am


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