IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference with variable defined as S & W in easytrieve


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Sun Apr 29, 2007 3:14 pm
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
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: 3156
Location: Tucson AZ

PostPosted: Mon Apr 30, 2007 12:24 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
Search our Forums:

Back to Top