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
 
Difference with variable defined as S & W in easytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
william51
Warnings : 1

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Sun Apr 29, 2007 2:57 pm    Post subject: Difference with variable defined as S & W in easytrieve
Reply with quote

In easytrieve,is a variable is defined as S ,what that mean?
what is difference with the variable defined as W?
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sun Apr 29, 2007 3:14 pm    Post subject:
Reply with quote

Coding a W or S establishes a working storage field. CA-Easytrieve/Plus spools W fields to report (work) files; it does not spool S fields.
Back to top
View user's profile Send private message
william51
Warnings : 1

New User


Joined: 06 Jul 2006
Posts: 31

PostPosted: Mon Apr 30, 2007 10:05 am    Post subject:
Reply with quote

I find that in Easytrieve reference,but i don't understand what that mean.
Is W and S only used in file?Is the S field will not added into the files?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Apr 30, 2007 12:24 pm    Post subject:
Reply with quote

william51 wrote:
I find that in Easytrieve reference,but i don't understand what that mean.
Is W and S only used in file?Is the S field will not added into the files?
The Reference Guide pointed to Chapter 11: Report Procedures: Report Procedures for an example. with the example there is this:
NOTE:
W FIELDS CONTAIN THEIR VALUE AT TIME OF PRINT STATEMENT.
S FIELDS CONTAIN THE LAST VALUE PLACED IN THE FIELD.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve with SQL Jan Olav Pedersen CA Products 1 Tue Jan 23, 2018 7:29 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 ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts Move from Comp3 variable to Edited Va... Revathy.nair0485 COBOL Programming 7 Fri Nov 03, 2017 3:30 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm

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