![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to identify the number of records with a common file variable.with the SSELECT statement. I can't seem to select with a variable. My code looks like this. ***** STMT = 'SSELECT EPCACT WITH SEQ = FILE.NUM' EXECUTE STMT CAPTURING JUNK REC.COUNT = SYSTEM(11) ****** I can get it to select if I don't use enter the data ****** STMT = 'SSELECT EPCACT WITH SEQ = "01234"' EXECUTE STMT CAPTURING JUNK REC.COUNT = SYSTEM(11) ****** What am I doing wrong? |
#3
| |||
| |||
|
|
I am trying to identify the number of records with a common file variable.with the SSELECT statement. I can't seem to select with a variable. My code looks like this. ***** STMT = 'SSELECT EPCACT WITH SEQ = FILE.NUM' EXECUTE STMT CAPTURING JUNK REC.COUNT = SYSTEM(11) ****** I can get it to select if I don't use enter the data ****** STMT = 'SSELECT EPCACT WITH SEQ = "01234"' EXECUTE STMT CAPTURING JUNK REC.COUNT = SYSTEM(11) ****** What am I doing wrong? |
#4
| |||
| |||
|
|
STMT = 'SSELECT EPCACT WITH SEQ = "':FILE.NUM:'"' -- frosty the Moderator wrote: I am trying to identify the number of records with a common file variable.with the SSELECT statement. I can't seem to select with a variable. My code looks like this. ***** STMT = 'SSELECT EPCACT WITH SEQ = FILE.NUM' EXECUTE STMT CAPTURING JUNK REC.COUNT = SYSTEM(11) ****** I can get it to select if I don't use enter the data ****** STMT = 'SSELECT EPCACT WITH SEQ = "01234"' EXECUTE STMT CAPTURING JUNK REC.COUNT = SYSTEM(11) ****** What am I doing wrong? |
#5
| |||
| |||
|
|
What am I doing wrong? |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
"the Moderator" <sparky (AT) no_spam_engineer (DOT) com> wrote: What am I doing wrong? You're posting to an unmoderated forum with the name "the Moderator", some people might consider that to be your second error. Can you please change that? It's bound to spark inquiries from idiots wondering who the forum moderator is. Thanks. |
#8
| |||
| |||
|
|
Tony Gravagno <g6q3x9lu53001 (AT) sneakemail (DOT) com.invalid> wrote in news:fvkhu2d0kbcsova21qvbi7e4rf9efp3kvf (AT) 4ax (DOT) com: "the Moderator" <sparky (AT) no_spam_engineer (DOT) com> wrote: What am I doing wrong? You're posting to an unmoderated forum with the name "the Moderator", some people might consider that to be your second error. Can you please change that? It's bound to spark inquiries from idiots wondering who the forum moderator is. Thanks. You've got to be kidding me. Care to share the "Acceptable Names For CDP" list with the group? Regards, Joe |
#9
| |||
| |||
|
|
Joe wrote: Tony Gravagno <g6q3x9lu53001 (AT) sneakemail (DOT) com.invalid> wrote in news:fvkhu2d0kbcsova21qvbi7e4rf9efp3kvf (AT) 4ax (DOT) com: "the Moderator" <sparky (AT) no_spam_engineer (DOT) com> wrote: What am I doing wrong? You're posting to an unmoderated forum with the name "the Moderator", some people might consider that to be your second error. Can you please change that? It's bound to spark inquiries from idiots wondering who the forum moderator is. Thanks. You've got to be kidding me. Care to share the "Acceptable Names For CDP" list with the group? Regards, Joe The list is too long, but don't worry, "Joe" is okay. Thanks for checking. sfsf |
#10
| |||
| |||
|
|
You've got to be kidding me. Care to share the "Acceptable Names For CDP" list with the group? |
![]() |
| Thread Tools | |
| Display Modes | |
| |