×
Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…
T24 from Unix to Windows
- Yilmaz
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
11 years 7 months ago #14994
by Yilmaz
T24 from Unix to Windows was created by Yilmaz
Hi,
I have worked in T24 environment that was always in Unix. Right now, I have an environment that will be in Windows soon. I am trying to understand some basics about the change will bring and how to adopt my scripts.
For example in Unix, when I log in I will go to jshell and mix jshell and shell commands in my script, let's say I create test.sh as below
I can run this from jshell prompt in Unix like:
this will output the current date for the ID
Now, I will be in Windows environment, how could I do that? Any ideas? Anyone scripting in Jshell and Windows batch mixed?
I know that I need to callin Windows that will take me to the Jshell but how can I create a batch file like the shell file above mixing between jshell and batch commands?
Thank you!
I have worked in T24 environment that was always in Unix. Right now, I have an environment that will be in Windows soon. I am trying to understand some basics about the change will bring and how to adopt my scripts.
For example in Unix, when I log in I will go to jshell and mix jshell and shell commands in my script, let's say I create test.sh as below
#script: test.sh
BNKD=`LIST F.DATES TODAY WITH @ID=XXXXXXXX`
echo $BNKD
I can run this from jshell prompt in Unix like:
jsh xx ~--> sh test.sh
this will output the current date for the ID
Now, I will be in Windows environment, how could I do that? Any ideas? Anyone scripting in Jshell and Windows batch mixed?
I know that I need to call
remote.cmd
Thank you!
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
Less
More
- Posts: 2859
- Thank you received: 650
11 years 7 months ago #14998
by jpb
Replied by jpb on topic T24 from Unix to Windows
Why don't you use a PAragraph in VOC, will work with both OS.
JED VOC test
0001 PA
0002 LIST F.DATES TODAY WITH @ID=XXXXXXXX
JED VOC test
0001 PA
0002 LIST F.DATES TODAY WITH @ID=XXXXXXXX
Please Log in or Create an account to join the conversation.
- Yilmaz
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
11 years 7 months ago #14999
by Yilmaz
Replied by Yilmaz on topic T24 from Unix to Windows
the VOC works for this simple example, but I am after something that I will be able to call from batch/shell for many more complicated things
Please Log in or Create an account to join the conversation.
Time to create page: 0.037 seconds